ก@

Home 

c++ Programming Glossary: fcd

C++ preprocessor #define-ing a keyword. Is it standards conforming?

http://stackoverflow.com/questions/2726204/c-preprocessor-define-ing-a-keyword-is-it-standards-conforming

in C 0x to outright forbid #define ing a keyword C 0x FCD ยง17.6.3.3.1 A translation unit shall not #define or #undef names..

Is there a way to test whether a C++ class has a default constructor (other than compiler-provided type traits)?

http://stackoverflow.com/questions/2733377/is-there-a-way-to-test-whether-a-c-class-has-a-default-constructor-other-than

highly unportable. EDIT appears to be compliant to C 0x FCD. It can only return positive or fail to compile in GCC 4.2 GCC.. SFINAE rules were broadened in this case since C 03 in the FCD. New ยง14.8.2 8 emphasis mine If a substitution results in an.. int value endl outputs 1 fails to compile access violation FCD demands that access violations be unrecoverable indeed it's..

If the address of a function can not be resolved during deduction, is it SFINAE or a compiler error?

http://stackoverflow.com/questions/2892087/if-the-address-of-a-function-can-not-be-resolved-during-deduction-is-it-sfinae

Here are some more related questions of interest Does the FCD C 0x clearly specify what should happen here Are the compilers.. try to comment out the call and it should still fail . The FCD says at 14.7.1 1 The implicit instantiation of a class template..

Will C++0x support __stdcall or extern “C” capture-nothing lambdas?

http://stackoverflow.com/questions/2935201/will-c0x-support-stdcall-or-extern-c-capture-nothing-lambdas

conversion function defined by the closure type . The FCD does not seem to specify what language linkage the function.. callback int main someCFunction void userData ... FCD wording at 5.1.2 6 The closure type for a lambda expression..

rvalues and temporary objects in the FCD

http://stackoverflow.com/questions/3007728/rvalues-and-temporary-objects-in-the-fcd

and temporary objects in the FCD It took me quite some time to understand the difference between..

decltype and parenthesis

http://stackoverflow.com/questions/3097779/decltype-and-parenthesis

understand the last line of the example on page 148 of the FCD ยง7.6.1.2 4 const int foo int i struct A double x const A a new..

Legality of using operator delete on a pointer obtained from placement new

http://stackoverflow.com/questions/4418220/legality-of-using-operator-delete-on-a-pointer-obtained-from-placement-new

clearly won't work but it seems to be allowed by the C 0x FCD. class X ... void raw malloc sizeof X X p new raw X according..

c++ pimpl idiom : Implementation depending on a template parameter

http://stackoverflow.com/questions/5425065/c-pimpl-idiom-implementation-depending-on-a-template-parameter

trying to do is not allowed by the language. ยง 14.7.3.16 FCD 2010 03 26 states In an explicit specialization declaration..

Compile-time assert for string equality

http://stackoverflow.com/questions/5721813/compile-time-assert-for-string-equality

Note that CHECK_EQUAL can be used inside of functions. The FCD did make a change to allow constexpr functions to read from..

Does C++11 add the C99 restrict specifier? If not, why not?

http://stackoverflow.com/questions/6434549/does-c11-add-the-c99-restrict-specifier-if-not-why-not

the C AMP specification. Is that keyword actually in the FCD If not is there a specific reason it was omitted c c 11 c amp..