Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Is the move constructor called after invoking a conversion function?

Why do these two pieces of code using constexpr, __PRETTY_FUNCTION__ and char * have different results?

c++ gcc c++17 constexpr

why declare constrexpr constructors for classes with non-trivial destructors (e.g. unique_ptr, std::variant)

c++ c++14 constexpr c++17

Why does boost::filesystem::canonical() require the target path to exist?

Is it allowed to specialize a template with enums with the same integral value?

c++ language-lawyer c++17

Deducing first template argument with other template parameters defaulted

Does the behavior of guaranteed copy elision depend on existence of user-defined copy constructor?

Continuous enum C++11

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

What's the difference between a sentinel and an end iterator?

Build tuple from heterogeneous initializer list at function call

Is a std::string_view literal guaranteed to be null-terminated?

Member initialization for non-copyable variable in C++17

Why can't fold expressions appear in a constant expression?

c++ c++17

std::stable_sort: How to choose memory-optimised algorithm over time-optimised algorithm?

std::pair<auto, auto> return type

Why does std::optional::operator=(U&&) require U to be a non-scalar type?

What are the differences between std::variant and boost::variant?

string constructor taking two char* into another std::string works in c++14 but not c++17

c++ c++14 c++17

(v) is actually (*&v) since when?

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

do I put [[maybe unused]] on function declarations or definitions?

c++ gcc clang pragma c++17