Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Why does std::vector CTAD accept both int and double?

c++ c++17 ctad

Can be the number of uncaught exceptions be more than one?

c++ exception c++17

Largest value representable by a floating-point type smaller than 1

Is `reinterpret_cast` actually good for anything?

`std::is_same_v<size_t, uint64_t>` evaluates to `false` when both types are 8 bytes long

Range-v3 operator overloading to write shorter code

Creating std::vector of nonmovable type

c++ vector stl c++17

Deduced type in structured binding of unordered_map

lock_guard initialization in if-initializer instead of simple scope

c++ scope c++17

How to "duplicate" template parameter pack expansion?

std::shared_mutex with std::shared_lock is reader or writer preferring?

c++ c++17

Why is my struct destructed twice with `std::variant` and `std::monostate`?

c++ c++17 std-variant

Class with a deleted copy constructor can be still copied?

Eigen static lib memory align

c++ c++17 eigen

Shall structured binding to a copy of a const c-array be const?

Why does operator() change for std::function in C++17?

c++ c++14 c++17

get<string> for variants fail under clang++ but not g++

c++ c++17 clang++ variant

Why shared_locked introduced before shared_mutex

c++ locking c++14 c++17 mutex

Iterating over a parameter pack

Are intmax_t and uintmax_t guaranteed to be of the same size?

c++ c++17 language-lawyer