Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

When is it necessary or meaningful to write &f for a function f or *fp for a function pointer fp (except in: sizeof &f)?

Use decltype(auto) return type to sometimes return references

initialize array, placement new, read variables, defined behavior?

Overload resolution between two constructors from std::initializer_list

Error subtracting hex constant when it ends in an 'E' [duplicate]

c++ language-lawyer

What is decl-reachable in C++ 20?

Does std::ranges::views::enumerate use the wrong type for indexing on GCC?

Clang rejects std::array initialisation but gcc accepts

std::launder when there are two objects in the same memory location

Why {} is better candidate to be int than string for C++ overload resolution? [duplicate]

c++ language-lawyer

Understanding constructor concept

and and bitand in situations where & and && mean ref

Does the default argument for a function parameter is considered as an initializer for that parameter?

ADL lookup inside a class (template) member function body

Requires expression with local parameter of void type

empty character literal in stringified block

Does operator < need to be declared before calling std::lexicographical_compare

c++ language-lawyer c++20

Object access through an unsigned char alias, what happens on load and on store?

Why string::replace does not specify allocator's exceptions in C++11?

Implied meaning of ordering types in C++20