Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

"Not all control paths return a value" when calling a function which throws [duplicate]

c++ c++17 throw

Why does std::variant behave differently on GCC 8.5 and GCC 12.1 in respect to a `const char *` literal? [duplicate]

c++ gcc c++17 std-variant

Return a tuple corresponding to variadic template in C++17

c++ c++17

c++ initializing lvalue reference with a temporary object rvalue as well as auto deduction [duplicate]

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

Taking address of rvalue

c++ c++17 c++14 c++20

Using auto as template parameter

c++ c++17 language-lawyer

Can std::atomic_flag be used in a signal handler

Why no std::as_const overload for pointer types

c++ c++17 std

How do we handle errors in the input of a User Defined Literal?

if constexpr block not compiling

Why does is_integral think that std::string is integral?

c++ c++17

How to take QByteArray from std::optional<QByteArray> and leave std::nullopt without additional mallocs?

c++ qt c++17

What is the difference between passing NULL vs. nullptr to a template parameter?

c++ templates c++17

C++ when to decay in template definition

c++ templates c++17

Type erasure on a pointer-to-member for a data type [closed]

c++ c++17

Why doesn't RVO happen with structured bindings when returning a pair from a function using std::make_pair?

How to write templated factory function for both std::shared_ptr and std::unique_ptr