Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++14

`weak_ptr::expired` behavior in the dtor of the object

What's {} in void({})?

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

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

std::move_if_noexcept calls copy-assignment even though move-assignment is noexcept; why?

c++ c++14

Continuous enum C++11

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

Ambiguous reference to namespace within an inline namespace

libc++ vs libstdc++ std::is_move_assignable: Which is the most correct?

c++ c++11 c++14 libstdc++ libc++

Is this legal template lambda syntax?

c++ templates lambda c++14

Is calling std::min on an empty initializer list (and explicitly specifying the type) undefined behavior?

Combining multiple for loops into single iterator

c++ loops c++14

Perfect forwarding of a callable

Making `std::get` play nice with SFINAE

What are the pros and cons of each way to initialize an expression?

c++ c++11 c++14

Handling Julian dates in C++11/14

c++ c++14 chrono julian-date

Integral constant passed by value, treated as constexpr?

c++ templates c++14 constexpr

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

c++ c++14 c++17

Any alternative to std::dynarray presently available?

c++ c++11 c++14

Perfect forwarding in a lambda?

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

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

Choose function to apply based on the validity of an expression