Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Why does my variant convert a std::string to a bool?

c++ c++17 variant

Should I use if unlikely for hard crashing errors?

c++ gcc c++17 likely-unlikely

Why do boost::filesystem::path and std::filesystem::path lack operator+?

c++ c++17 boost-filesystem

Variadic template only compiles when forward declared

Is this a bug? Constexpr constructor silently becomes non-constexpr

c++ language-lawyer c++17

Will 'Guaranteed Copy Elision' (P0135, C++1z) potentially require ABI breakage?

Is this a bug in std::gcd?

Do the multiple postfix-expression(subscripting) evaluations result in UB

c++ c++17 language-lawyer

Will std::optional be a trivially copyable type if the contained type is a trivially copyable type

c++ c++17

Variadic deduction guide not taken by g++, taken by clang++ - who is correct?

Why can a strongly-typed enum be initialized with an integer without static_cast?

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?