c++ Programming Glossary: substituted
Name lookups in C++ templates http://stackoverflow.com/questions/10639053/name-lookups-in-c-templates left to resolve in the second pass once the type has been substituted. Now in the first pass there is nothing that indicates that..
Why doesn't a derived template class have access to a base template class' identifiers? http://stackoverflow.com/questions/1239908/why-doesnt-a-derived-template-class-have-access-to-a-base-template-class-ident compiler first parses the template there's no actual type substituted for T yet the compiler doesn't know what Base T is. So it cannot..
What is “Expression SFINAE”? http://stackoverflow.com/questions/12654067/what-is-expression-sfinae when any explicitly specified template arguments are substituted into the function type and again at the end of template argument.. that were deduced or obtained from default arguments are substituted . p7 The substitution occurs in all types and expressions that..
What are the expression syntax over types C++ support? http://stackoverflow.com/questions/17142130/what-are-the-expression-syntax-over-types-c-support are six fundamental constructs within which any T can be substituted by any of the other constructs in the list. In the following.. the compiler must check that the template arguments can be substituted for the template parameters without resulting in an 'invalid..
Extending enums in C++? http://stackoverflow.com/questions/1804840/extending-enums-in-c safety while not imposing any runtime overhead as they are substituted by the compiler directly. If you want such a beast you'll have..
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 is one that would be ill formed if written using the substituted arguments. Access checking is not done as part of the substitution.. result in a deduction failure. Note The evaluation of the substituted types and expressions can result in side effects such as the..
How, exactly, does the double-stringize trick work? http://stackoverflow.com/questions/2751870/how-exactly-does-the-double-stringize-trick-work However the argument of STR2 is macro expanded when it's substituted into the definition of STR2 which therefore gives STR1 an argument..
How do I create a Lua Table in C++, and pass it to a Lua function? http://stackoverflow.com/questions/453769/how-do-i-create-a-lua-table-in-c-and-pass-it-to-a-lua-function
Generating function declaration using a macro iteration http://stackoverflow.com/questions/5355241/generating-function-declaration-using-a-macro-iteration list of argument types may be empty in which case it is substituted by void . Beware that P99 is made for C99 and not for C . You'll..
Non-type template parameters http://stackoverflow.com/questions/5687540/non-type-template-parameters is because non constant expressions can't be parsed and substituted during compile time. They could change during runtime which..
SFINAE with invalid function-type or array-type parameters? http://stackoverflow.com/questions/822059/sfinae-with-invalid-function-type-or-array-type-parameters f ... 2 int main char c sizeof f void 0 2 In the above the substituted parameter is a legal pointer to function rather than an array..
Can SFINAE detect private access violations? http://stackoverflow.com/questions/8984013/can-sfinae-detect-private-access-violations is one that would be ill formed if written using the substituted arguments. Note Access checking is done as part of the substitution.. result in a deduction failure. Note The evaluation of the substituted types and expressions can result in side effects such as the..
C++11 make_pair with specified template parameters doesn't compile http://stackoverflow.com/questions/9641960/c11-make-pair-with-specified-template-parameters-doesnt-compile deduction takes place. Instead the type arguments are substituted directly into the template declaration yielding return type..
Inheritance: 'A' is an inaccessible base of 'B' http://stackoverflow.com/questions/9661936/inheritance-a-is-an-inaccessible-base-of-b . Public inheritance asserts that a derived object can be substituted for an object of the base class and proper semantics will still..
What is the closest thing windows has to fork()? http://stackoverflow.com/questions/985281/what-is-the-closest-thing-windows-has-to-fork the spawn family of calls provided by Cygwin can be substituted for a fork exec pair with only a little effort. These calls..
|