Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Same name in typedef and using from a namespace

Non-const copy constructor compiles fine with C++17

What does a C++ preprocessor do when there's just a single `#` in a line - and nothing else?

Why is it valid to get string[0] even when it has not been initialized?

Which value category does x have in `((struct s*)0)->x?

Cannot use std::not_fn with immediate functions

Is printf("%d %d", i++, i++) defined behaviour in C++17? [duplicate]

When is placement new well defined, and what happens to an existing type when calling placement new?

Confused by effective type rules

c language-lawyer

Why is this combination of move and value constructor ambigous for MSVC but not for Clang and GCC in C++17 and above

Why aren't empty arrays and hashes interned?

copy elision in c++03

Why conversion (unsigned long long)DBL_MAX (or FLT_MAX) causes raising of FE_INEXACT as well?

Confusions around explicit template instantiation

Applying strcpy to a pointer to array + some_offset

foo(int, int) is picked over foo(int...)

Why do these lambda captured values have different types?

Undefined behaviour or not undefined behaviour

Is accessing static class member via unitilialized pointer UB?