Search code examples
How to determine whether the following switch block is exhaustive?...

javalanguage-lawyer

Read More
Definite matching in Java pattern matching...

javalanguage-lawyer

Read More
Implicitly changing the active union member between two members of the same primitive type...

c++language-lawyerunions

Read More
C++ Aliasing a type with the same name...

c++language-lawyer

Read More
Does calling a dependent function that has not been yet declared at the point of template definition...

c++templateslanguage-lawyerdependent-type

Read More
Does C++11 allow dollar signs in identifiers?...

c++c++11language-lawyeridentifier

Read More
What are the prohibitions against certain kinds of aliasing through unions?...

clanguage-lawyerunionsstrict-aliasingtype-punning

Read More
Does calling non-const mem. fun. on const object via non-const ref obtained via const_cast invoke UB...

c++language-lawyerundefined-behaviorconst-cast

Read More
Common initial sequence with nested struct...

c++language-lawyer

Read More
Is there a way to assert something about an argument to a consteval function, with a meaningful erro...

c++language-lawyerc++20

Read More
C++14 constexpr function requirements on cppreference...

c++c++11language-lawyerc++14constexpr

Read More
Is there inlinable function for pow2?...

c++language-lawyerstd

Read More
Can & (address-of-operator) ever return nullptr?...

c++language-lawyer

Read More
C++17 Are non-static POD class members initialized with curly braces {} set to 0?...

c++c++17language-lawyerctor-initializervalue-initialization

Read More
Why can’t I use a unary operator in a chained assignment, but only in separate assignment statements...

javascriptlanguage-lawyeroperator-precedenceassignment-operator

Read More
Side effects and undefined behaviour when references are used in a function...

c++functionlanguage-lawyerexpressionside-effects

Read More
Changing active member in a union with copying using std::construct_at...

c++language-lawyerc++20unionconstexpr

Read More
Can std::ranges::enumerate enumerate any possible valid C++ array?...

c++language-lawyerc++20std-rangessize-t

Read More
Is definition of variable length array (VLA) / known constant size recursive?...

arrayscrecursionlanguage-lawyervariable-length-array

Read More
Why global-scope function declaration with built-in type arg must be visible before unqualified call...

c++language-lawyerc++20header-filesargument-dependent-lookup

Read More
UML CollaborationUse ownership...

language-lawyerumlocl

Read More
Can the order of declarations alter a program?...

c++language-lawyerrefactoring

Read More
Is using if (0) to skip a case in a switch supposed to work?...

c++cif-statementswitch-statementlanguage-lawyer

Read More
std::ranges::sort not working with non-default operator<=>?...

c++sortinglanguage-lawyerc++20std-ranges

Read More
How to initialize a union containing const data members in C++11...

c++c++11language-lawyerunionplacement-new

Read More
is optional<void> type name valid?...

c++c++17language-lawyer

Read More
Does direct initialization of class type consider user defined conversion function?...

c++language-lawyerc++20

Read More
Expected behaviour when expanding a template parameter pack into an inner template declaration...

c++language-lawyerc++20variadic-templatesc++-concepts

Read More
Do I need `std::launder` when working with unions?...

c++language-lawyerstdlaunder

Read More
No concept subsumption with template parameter pack?...

c++language-lawyerc++20c++-conceptsparameter-pack

Read More
BackNext