Search code examples
Is it legal to zero empty C++ classes in the constructor and inherit from them?...


c++constructorlanguage-lawyermultiple-inheritancememset

Read More
Optimizing away a "while(1);" in C++0x...


c++c++11language-lawyerinfinite-loopundefined-behavior

Read More
Is 'while(1);' undefined behavior in C?...


clanguage-lawyerinfinite-loopundefined-behavior

Read More
In C++ can you use one empty type as storage for another?...


c++language-lawyerc++20strict-aliasing

Read More
Copy elision when initializing a base-class subobject with aggregate initialization...


c++aggregatelanguage-lawyercopy-elision

Read More
Function pointer compatibility between single pointer and empty parameter lists...


clanguage-lawyerc99c23

Read More
What are the precise semantics of block-level functions in ES6?...


javascriptecmascript-6language-lawyerjavascript-function-declaration

Read More
Why does the C++17 standard not allow converting a string to a bool?...


c++c++17language-lawyerstdlanguage-design

Read More
Declaring a function with different function specifiers...


clanguage-lawyerfunction-declarationnoreturn

Read More
Can the C compiler optimize a conditional store into an unconditional store?...


coptimizationlanguage-lawyer

Read More
What can be inferred according to the result of atomic operations?...


c++language-lawyeratomic

Read More
C++: Pointers to union-members considered distinct?...


c++language-lawyer

Read More
Using decltype for templated function declaration results in "conflict" when defining the ...


c++templateslanguage-lawyerusingdecltype

Read More
Lambda to std::function compiles in clang but not in gcc...


c++language-lawyerc++20

Read More
Is it safe to push_back an element from the same vector?...


c++vectorreferencelanguage-lawyerpush-back

Read More
Is it okay to use lambda as a default non-type template argument to generate unique types?...


c++templateslambdalanguage-lawyer

Read More
Expression without parentheses works in one case but not in other...


c++language-lawyerrequires-clause

Read More
Is it standard C17 to wrap a parameter in a function declaration in parenthesis...


csyntaxlanguage-lawyerfunction-declarationc17

Read More
Is clang-tidy modernize-pass-by-value only right from C++20 on?...


c++language-lawyerpass-by-referencepass-by-valueclang-tidy

Read More
Can a prvalue of type int be invoked?...


c++language-lawyerc++20

Read More
Memory mapped files and pointers to volatile objects...


c++clanguage-lawyervolatilemmap

Read More
two singular iterators not forming a valid range with _GLIBCXX_DEBUG...


c++language-lawyer

Read More
Can std::replace implementation make redundant writes to the passed array?...


c++language-lawyervectorizationsseavx

Read More
At which point are default template arguments instantiated in C++?...


c++lambdalanguage-lawyerc++20default-arguments

Read More
Do C++ enums Start at 0?...


c++enumslanguage-lawyerenumerationordinal

Read More
Is casting and dereferencing struct pointers of "compatible" structs allowed?...


cpointersstructlanguage-lawyer

Read More
Deduction guide works in gcc and msvc but rejected by clang...


c++language-lawyerdeduction-guide

Read More
Adding inline to extern "C" function causes linker error when calling from inline assembly...


c++linkerlanguage-lawyer

Read More
Variable with same name as type - which compiler is right?...


c++compiler-errorsclanglanguage-lawyervariable-names

Read More
How to write a C++23 constant_range factory a la iota, with by-value dereference operator...


c++language-lawyerstd-rangesc++23

Read More
BackNext