Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

What's the behavior of an uninitialized variable used as its own initializer?

Why don't C compilers warn about incompatible types with literal strings? [duplicate]

Order of evaluation of assignment statement in C++

Does a C shift expression have unsigned type? Why would Splint warn about a right-shift?

typedef and non-simple type specifiers

c++ c language-lawyer

Is it safe to assert(sizeof(A) == sizeof(B)) when A and B are "the same"?

c++ language-lawyer sizeof

Initializing mutually-referencing objects

c++ language-lawyer

Does C++ as a standard prohibit the storage of member functions inside individual class instances?

c++ language-lawyer

Accessing member type with `if constexpr` inside generic lambda requires both branches to be well-formed - gcc vs clang

A deleted default constructor could still be trivial?

c++ c++11 language-lawyer

What is a trivial function?

c++ language-lawyer c++14

Cannot declare an operator within a function. Clang bug or spec?

Why introduce `std::launder` rather than have the compiler take care of it?

Value initialization: default initialization or zero initialization?

Have anonymous structs and unions in C11 been incorrectly described?

c language-lawyer c11

Copy initialization with deleted copy constructor in reference initialization

Can one use parameter value directly (not its type but value itself) in trailing return type syntax

Since the Standard C committee did not standardize a simple replacement for gets(), what should it be?

c language-lawyer glibc libc

Is std::initializer_list{x, y, z} (CTAD) valid?

c++ language-lawyer c++17

Cannot use pointer to public member function that comes from a private base

c++ language-lawyer