Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Nested constexpr-if statement in discarded branch is still evaluated?

c++ nested c++17 if-constexpr

What's the shortest path in C++11 (or newer) to create an RAII wrapper without having to write a new class?

c++ c++11 c++14 c++17 raii

"temporary of type 'A' has protected destructor", but its type is B

Constructor taking std::initializer_list is preferred over other constructors

How does this template type deduction and overload resolution work?

std::launder and strict aliasing rule

Different cv-qualifiers with structured bindings

c++ c++17

C++ new if statement with initializer

Why is std::is_aggregate<T> an aggregate?

c++ std c++17 typetraits

Can a non-type template parameter be of type "void*"?

What is an equivalent replacement for std::unary_function in C++17?

c++ stl c++17

Is C++17 std::shared_mutex not available yet?

c++ mutex libstdc++ c++17 gcc5

When do I use node_type with std::map::insert?

How to use lambda as template argument with default value in C++? [duplicate]

c++ lambda c++17

Can `if constexpr` be used to declare variables with different types and init-expr

Defining global constants in C++1z?

c++ constants c++17

Incomplete types as function parameters and return values

Are structured bindings reusable?

MSVC constexpr function 'xyz' cannot result in a constant expression

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

Unqualified sort() -- why does it compile when used on std::vector and not on std::array, and which compiler is correct?

c++ c++17