Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

structured binding initializer inside if statement does not compile

Why structured bindings only work with auto

direct-initialization vs direct-list-initialization (C++)

Why does "const auto [x, y]" not behave as expected when binding to reference types?

How do I use std::optional in C++?

c++ c++17 stdoptional

Why is sfinae on if constexpr not allowed?

c++ c++17

Guaranteed elision and chained function calls

c++ c++17 copy-elision

Overload a lambda function

Why does std::atomic constructor behave different in C++14 and C++17

c++ c++14 c++17 stdatomic

struct to/from std::tuple conversion

c++ c++17

Function with a fixed amount of parameters determined by an integer

c++ function c++11 c++14 c++17

Get index by type in std::variant

MSVC++: template's static_assert is not triggered inside a lambda

c++ visual-c++ c++17

Is it legal to use an operator in a fold expression that was introduced by a using declaration?

What is the equivalent of cast for concepts?

c++ c++17 c++-concepts

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

Must a c++ interface obey the rule of five?

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

Stripping all qualifiers from a function type

c++ templates c++11 c++14 c++17

Using const std::unique_ptr for pimpl idiom

c++ c++11 c++17