Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

`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

Can I capture lambda variables without std::function?

c++ lambda c++17

Can I declare a type [[nodiscard]] with 'using'?

c++ c++17 nodiscard

Is it undefined behavior to `reinterpret_cast` a `T*` to `T(*)[N]`?

What does the standard say about unaligned memory access?