Search code examples
Temporary object creation for reference parameter and optimization changes...


c++language-lawyerclang++const-correctnessreference-binding

Read More
MSVC - Using namespace directive in caller of generic lambda leaks into the lambda's body...


c++visual-c++compiler-errorsc++17language-lawyer

Read More
What is the name of the initialization used in char a[] = ""?...


c++arraysinitializationlanguage-lawyerstring-literals

Read More
downcasting standard layout struct to derived struct with the same data members...


c++language-lawyerundefined-behaviortype-punning

Read More
Do all const objects have static storage duration?...


c++staticconstantslanguage-lawyerstorage-duration

Read More
Capturing a `thread_local` in a lambda...


c++c++11language-lawyerstdthreadthread-local-storage

Read More
Use of an overloaded operator in a scoped enum definition...


c++enumslanguage-lawyerscoped-enums

Read More
Why does pattern matching with instanceof fail to compile when using the boolean logical operator &a...


javaif-statementlanguage-lawyerinstanceofjava-17

Read More
Is it really well defined to check pointer alignment using the pointer's integer value?...


c++pointersc++17language-lawyerundefined-behavior

Read More
Why is the precedence of exponentiation lower than that of unary plus minus?...


bashlanguage-lawyerzshkshoperator-precedence

Read More
Is std::string always null-terminated in C++11?...


c++stringc++11language-lawyernull-terminated

Read More
Why is RVO disallowed when returning a parameter?...


c++language-lawyercopy-elisionreturn-value-optimization

Read More
Temporary in a function call: UB?...


c++language-lawyerundefined-behavior

Read More
Is it safe to use the std::string::c_str() of a temporary string?...


c++stllanguage-lawyerstdstringtemporary-objects

Read More
Only bitwise operations for std::byte in C++17?...


c++language-lawyerbytestd-byte

Read More
uncaught exception in destructors of static objects...


c++exceptionlanguage-lawyer

Read More
C unary operators...


ccompiler-errorslanguage-lawyer

Read More
Why can't I specialize a template with an alias template in the return type in MSVC?...


c++templatesvisual-c++language-lawyercompiler-bug

Read More
Are these expressions involving compound literals defined in C?...


clanguage-lawyerundefined-behavior

Read More
Is "auto int i" valid C++11?...


c++c++11language-lawyerstandards-compliance

Read More
Is the time complexity of `std::vector<T>::clear` *really* not specified?...


c++c++11language-lawyerstd

Read More
Are the "inline" keyword and "inlining" optimization separate concepts?...


c++coptimizationlanguage-lawyerinline-functions

Read More
Detecting compile-time constantness of range size...


c++language-lawyerc++20c++-conceptsstd-ranges

Read More
What is the difference between default arguments and function overloads?...


c++overloadinglanguage-lawyerapi-designdefault-arguments

Read More
Does std::string {} = "hi"; induce temporary materialization?...


c++c++17language-lawyertemporary-objects

Read More
Can you dereference a temporary array?...


c++gcclanguage-lawyerc++20temporary-objects

Read More
Does placement-new of array of bytes (which implictly creates objects) end the lifetime of the objec...


c++language-lawyerlifetimeplacement-newc++23

Read More
De Morgan's Law optimization with overloaded operators...


c++operator-overloadinglanguage-lawyercompiler-optimization

Read More
Can I assign or return a struct with unassigned elements in C?...


cstructinitializationlanguage-lawyerundefined-behavior

Read More
Regarding decltype() for captured entities, which compiler is ISO compliant?...


c++lambdac++17language-lawyerdecltype

Read More
BackNext