Search code examples
How to write a C++23 constant_range factory a la iota, with by-value dereference operator...


c++language-lawyerstd-rangesc++23

Read More
Class template partial specialization for const and not-const pointers...


c++templateslanguage-lawyerpartial-specializationnon-type-template-parameter

Read More
Why can a fpos_t * alias a FILE *?...


clanguage-lawyerrestrict-qualifierpointer-aliasing

Read More
Are there any iterator invalidation rules for <algorithms> operations?...


c++stliteratorlanguage-lawyerc++20

Read More
A class both derives from and its first member has type deriving from the same base class. Is the cl...


c++language-lawyer

Read More
Did the rules for nullptr init of unique_ptr change in C++23?...


c++visual-c++language-lawyerunique-ptrc++23

Read More
Is lvalue to rvalue conversion not applied on empty class object passed by value...


c++language-lawyerc++20constexpr

Read More
What is SpreadElement in ECMAScript documentation? Is it the same as Spread syntax at MDN?...


javascriptecmascript-6language-lawyerspread-syntax

Read More
Casting a function pointer to another type...


clanguage-lawyerfunction-pointers

Read More
Why is decltype(member) not const while decltype((member)) is for const object and how does it impac...


c++constantslanguage-lawyermembertemplate-argument-deduction

Read More
Is it possible to alias an enum-class enumerator?...


c++c++11enumsaliaslanguage-lawyer

Read More
Why does the floordiv (//) opertor with python decimals round toward 0 instead of negative infinity?...


pythonlanguage-lawyer

Read More
Why std::allocator<T>::allocate calls ::operator new?...


c++language-lawyernew-operatorallocator

Read More
Why is f(i = -1, i = -1) undefined behavior?...


c++language-lawyerundefined-behaviorexpression-evaluation

Read More
Legal to overwrite std::string's null terminator?...


c++c++11language-lawyerstdstring

Read More
Is it possible to determine whether an object is of a class type or not using a trait through a non-...


c++language-lawyerc++20compiler-bugnon-type-template-parameter

Read More
Using constant expressions as template parameter using a function parameter: which compiler is right...


c++templateslanguage-lawyerc++20constexpr

Read More
Do C compilers follow the "formal definition of `restrict`"?...


cpointerslanguage-lawyerc99restrict-qualifier

Read More
Why Must Variables used in Guarded Pattern Case Labels be Final/Effectively Final? (Java 21)...


javaswitch-statementlanguage-lawyerjava-21switch-expression

Read More
Can the default `window.top` ever be invalid as a reference?...


javascripthttp-redirectwindowlanguage-lawyer

Read More
Does a templated variadic constructor affect the triviality of a type?...


c++language-lawyerc++20

Read More
Which rule disprefers qualification conversions during reference binding?...


c++language-lawyer

Read More
Why using the address of the first element of the array as template non-type argument is possible in...


c++pointerstemplateslanguage-lawyernon-type-template-parameter

Read More
Is the result of static_casting a constexpr void* a constant expression?...


c++clanglanguage-lawyerc++14constexpr

Read More
Call of overloaded <brace-enclosed initializer list> is ambiguous with inconvertible types...


c++language-lawyerbraced-init-list

Read More
Example of "implicit ODR-use of a non-pure virtual member function that happens to be deleted&q...


c++language-lawyervirtual-functionsone-definition-ruledeleted-functions

Read More
Ambiguous constructor error in gcc but not in msvc...


c++c++17language-lawyercompiler-bugcopy-initialization

Read More
Invalid expression in requires clause...


c++language-lawyerc++20

Read More
Does using std::array as storage invoke UB?...


c++language-lawyerc++20lifetimeplacement-new

Read More
is a class declaration before base-clause a valid forward declaration?...


c++inheritancelanguage-lawyerforward-declaration

Read More
BackNext