Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

How to define a variant<x,y,z> extracting subtypes of a template parameter

How to prevent function parameter conversion from value to reference type in C++17?

c++ c++17

Why does taking a function pointer to `operator new` compile in C++14, but not in C++17?

How to compare the type in a constexpr?

c++ templates c++17

What is the reason for the odd syntax of [[maybe_unused]] on type aliases?

c++ c++17

What is a better practice for initializing class members?

c++ c++17

What's the purpose of std::pmr::polymorphic_allocator?

Calling std::async twice without storing the returned std::future

Copy elision for captured local variables in returned lambda

c++ c++17 copy-elision

How to suppress GCC compiler warning: inline variables are only available with -std=c++1z or -std=gnu++1z

Strange behavior when calling std::invoke(std::forward(...)) with address-sanitization in a std::thread with a std::ref

How to use overload `operator==` in a `std::variant` wrapper class to make comparisons between Setting Vs Setting and T vs T?

How can I give two compatible names to a C++ class template with deduction guides?

c++ c++17 ctad

How to deduce second parameter type from first parameter?

c++ c++11 templates lambda c++17

Different noexcept property for std containers in different Compilers

c++ std c++17

§12.3.2 [class.conv.fct]/1 in C++1z changed substantially in relation to C++14. Does it make sense?

'Attempt to dereference a past-the-end iterator' when sorting a vector of filesystem paths

Delayed update with proxy objects vs. "Avoid unnamed objects with custom construction and destruction"

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