Search code examples
Public "using" = decltype(<private>)...

c++c++11templateslanguage-lawyerdecltype

Read More
Can undefined behavior that is explicitly specified occur in a consteval function without a diagnost...

c++language-lawyerc++20

Read More
p1 and p2 are pointers to ints, if p2>p1 is valid, is p2-p1 valid?...

c++pointerslanguage-lawyerpointer-arithmetic

Read More
Why is a private member visible when initializing a static variable?...

c++classstaticlanguage-lawyerprivate

Read More
What type can the result of calloc be assigned to, a pointer to an array, a pointer to the type cont...

arraysclanguage-lawyercalloc

Read More
Is there a data race between writes that nominally happen under mutually exclusive conditions?...

c++compilationlanguage-lawyercompiler-optimization

Read More
Can dynamic_cast<Derived*>(static_cast<Base*>(voidPtr)) ever go wrong if voidPtr is null...

c++classinheritancepolymorphismlanguage-lawyer

Read More
Declaration can not happen inside a conditional operator expression?...

c++language-lawyer

Read More
Does the JS engine create a new microtask that will execute every handler chained together in a Prom...

javascriptpromiselanguage-lawyerasynchronous-javascript

Read More
Can friend comparison operator be defined for a local class?...

c++language-lawyerc++20friendcomparison-operators

Read More
Can "an implicitly-defined move constructor" be NOT trivial?...

c++language-lawyer

Read More
What does the term "trivial" formally mean in C++?...

c++language-lawyer

Read More
What is the behavior of printing NULL with printf's %s specifier?...

clinuxlanguage-lawyercompiler-bug

Read More
Do preprocessor defines substitute in `operator""_name`...

c++language-lawyerc-preprocessoruser-defined-literals

Read More
Inconsistent behavior of std::common_reference_with on tuples. Which is correct?...

c++tupleslanguage-lawyerc++-conceptsstd

Read More
Does nullptr_t break type punning or pointer conversions?...

clanguage-lawyernullptrtype-punningc23

Read More
Does the definition int a = 0, b = a++, c = a++; have defined behavior in C?...

clanguage-lawyerundefined-behaviorsequence-pointsc17

Read More
Is support of Annex K in C11 required for a conforming implementation?...

clanguage-lawyerc11tr24731

Read More
Why C++ variable template does not raise multiple definitions error?...

c++templateslanguage-lawyer

Read More
Is there an equivalent of __attribute__((nonnull)) in C23?...

clanguage-lawyernull-pointerc23

Read More
In the C++ 20 specification, where is the rule saying an rvalue reference cannot bind to an lvalue?...

c++language-lawyerrvalue-reference

Read More
Why does scanf parse "2E" but not "." (with GCC) as a "prefix of a matching...

cfloating-pointlanguage-lawyerscanfcompiler-bug

Read More
Why are function template specializations distinct, despite no difference in return type or paramete...

c++templateslanguage-lawyer

Read More
#if ! SOME_MACROS equivalent with #ifndef SOME_MACROS if SOME_MACROS always has numerical value...

c++macroslanguage-lawyerconditional-compilation

Read More
What does std::numeric_limits do for types that don't specialize it?...

c++language-lawyernumeric-limits

Read More
Are spaces mandatory when calling modify() on a DateTime or DateTimeImmutable object?...

phpdatetimelanguage-lawyer

Read More
Is `void foo(int a[static 0]);` valid?...

clanguage-lawyerc99

Read More
Why are curly braces {} NOT considered an operator in C++?...

c++language-lawyergrammar

Read More
Does the comma in a declaration for multiple objects introduce a sequence point like the comma opera...

clanguage-lawyerdefinitioncomma-operatorsequence-points

Read More
Why are no diagnostics required for missing definitions?...

c++linkerlanguage-lawyer

Read More
BackNext