For questions about the intricacies of formal or authoritative specifications of programming languages and environments.
I'm trying to understand the affect of inheritance order in C++.. I looked online, but I couldn't find a clear …
c++ oop multiple-inheritance language-lawyerWhat is the behavior when a NULL is passed as the parameters in strstr? Given: char * p = NULL; char * s = …
c language-lawyer strstrHow does this work? The idea is to make abs(x) use bitwise operators for integers (assuming 32 bit words): y = …
c++ c bit-manipulation language-lawyer absolute-valueAs a question that came up during the discussion of this SO question: Is it legal, maybe with N3471, to …
c++ c++11 language-lawyer initializer-list constexprUnfortunately, I am somewhat confused about constexpr, global constants declared in header files, and the odr. In short: Can we …
c++ c++11 language-lawyer constexpr linkageGoing through some C interview questions, I've found a question stating "How to find the size of an array in …
c arrays size language-lawyer pointer-arithmeticLet's say I go to compile some poorly-written C++ source code that invokes undefined behavior, and therefore (as they say) "…
c++ language-lawyer undefined-behaviorAccording to Sergey Ryazanov, his Impossibly Fast C++ Delegates are not comparable: My delegates cannot be compared. Comparison operators are …
c++ delegates language-lawyer one-definition-ruleThis is awkward, but the bitwise AND operator is defined in the C++ standard as follows (emphasis mine). The usual …
c++ language-lawyer bitwise-operatorsFor floating point values, is it guaranteed that a + b is the same as1 b + a? I believe this is …
c++ floating-point language-lawyer commutativity