c++ Programming Glossary: normative
cstdio stdio.h namespace http://stackoverflow.com/questions/10460250/cstdio-stdio-h-namespace for all c styled headers. Reference C 11 standard Annex D normative Compatibility features depr states D.6 C standard library headers..
Accessing inactive union member - undefined? http://stackoverflow.com/questions/11373203/accessing-inactive-union-member-undefined in C we have to search further. Recall that c99 is a normative reference for C 11 and C99 has similar language to C11 permitting..
What is “Expression SFINAE”? http://stackoverflow.com/questions/12654067/what-is-expression-sfinae from the VIP lounge of overloads. You can find the normative wording at the end of this answer. A note on VC They didn't..
Does it make sense for unary operators to be associative? http://stackoverflow.com/questions/12961351/does-it-make-sense-for-unary-operators-to-be-associative w cpp language operator_precedence I know it's not normative but the standard doesn't talk about precedence or associativity..
Should I include <xxxx.h> or <cxxxx> in C++ programs? http://stackoverflow.com/questions/13889467/should-i-include-xxxx-h-or-cxxxx-in-c-programs with cxxxxx The C Standard mentions this under Annex D normative Compatibility features ยง2 mentions the important distinguishing..
Correct signature of / detect presence of Container::reserve() http://stackoverflow.com/questions/14882588/correct-signature-of-detect-presence-of-containerreserve requirements table 103 for unordered_set which are normative where the synopses tend more to the informative. share improve..
Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB? http://stackoverflow.com/questions/14935722/does-initialization-entail-lvalue-to-rvalue-conversion-is-int-x-x-ub in spite of the lack of a formal specification non normative evidences are found in the Standard that the intended specification..
What is the value category of the operands of C++ operators when unspecified? http://stackoverflow.com/questions/14991219/what-is-the-value-category-of-the-operands-of-c-operators-when-unspecified the need for a conversion otherwise but notes are non normative after all. Sections concerning other operators including multiplicative..
What are the rules about using an underscore in a C++ identifier? http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier C is based on the C standard 1.1 2 C 03 and C99 is a normative reference 1.2 1 C 03 these also apply from the 1999 C Standard..
When does invoking a member function on a null instance result in undefined behavior? http://stackoverflow.com/questions/2474018/when-does-invoking-a-member-function-on-a-null-instance-result-in-undefined-beha 4 and ยง8.3.2 4 it's never explicitly stated. Notes are non normative. However one can try to deduced it from ยง3.10 2 An lvalue refers..
What does the [Note] in undefined behavior paragraph in C++ standard mean? http://stackoverflow.com/questions/4274763/what-does-the-note-in-undefined-behavior-paragraph-in-c-standard-mean claim compliance with the standard. So it's entirely non normative non binding and meant only for possible clarification. share..
Does the 'offsetof' macro from <stddef.h> invoke undefined behaviour? http://stackoverflow.com/questions/6433339/does-the-offsetof-macro-from-stddef-h-invoke-undefined-behaviour defect that the C 98 03 standard never says right out in normative text that in general it's UB to dereference a nullpointer. It..
Mixing operator new[] and placement new with ordinary delete[] http://stackoverflow.com/questions/6495632/mixing-operator-new-and-placement-new-with-ordinary-delete operator new returned giving UB again. ยง5.3.4 12 is a non normative note but I don't see anything in the normative text to contradict..
Is it legal to modify the result of std::string::op[]? http://stackoverflow.com/questions/7766087/is-it-legal-to-modify-the-result-of-stdstringop is no ambiguity. The lack of mention in C.2.11 is not normative but can be used as a hint that when they wrote the standard..
Difference between string.h and cstring? http://stackoverflow.com/questions/8380805/difference-between-string-h-and-cstring the same behavior as the original declaration. Annex D normative Compatibility features depr states D.6 C standard library headers..
Why can template instances not be deduced in `std::reference_wrapper`s? http://stackoverflow.com/questions/8513050/why-can-template-instances-not-be-deduced-in-stdreference-wrappers Edit Moved my guesswork to the bottom here comes the normative text why this won't work. TL DR version No conversions allowed..
What happens if I define a 0-size array in C/C++? http://stackoverflow.com/questions/9722632/what-happens-if-i-define-a-0-size-array-in-c-c is true both for a plain array ยง1 and a VLA ยง5 . This is normative text in the C standard. A compiler is not allowed to implement..
|