Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Overload ambiguity with std::function that takes an std::optional parameter

c++ c++17

Clang, std::next, libstdc++ and constexpr-ness

generic type alias, which are incompatible to each other

clang compiled program throws std::bad_any_cast during std::any_cast

c++ gcc casting clang c++17

What's the reallocation equivalent of std::aligned_alloc()?

constexpr struct member initialisation

c++ c++17 constexpr

propagate_const and forward declaration

c++ c++17 c++-experimental

How to create an array from two index sequence at compile time

What is the proper way to preallocate memory for a function return value that is called many times in a loop?

How to define constructor of fully-specialized class within another class template

Specializing function template based on lambda arity

c++ templates lambda c++17 arity

How to use <execution> library in c++17

c++ c++17

const forwarding reference gives error C2440: 'initializing': cannot convert from 'const std::string' to 'const std::string &&'

c++ c++17 forward-reference

How to forward multiple constructor arguments through a variadic template to an array initializer list?

c++ c++17

When is P1008 ("prohibit aggregates with user-declared constructors") useful in practice?

Random number from normal distribution in C++

c++ c++17

Is it a defect when the base class is a dependent type

What is stopping the compiler from eliminating data members unused in each particular context?

c++ c++17 language-lawyer

Function call not ambiguous if {} is used

Use auto for only one variable with structured binding

c++ c++17