Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Fold expressions and empty parameters pack: what's the expected result?

In C++17, why do associative containers have an `erase` member function that takes (non-`const`) `iterator`?

std::vector on forward declared type

Associativity of fold-expressions

Structured bindings for your own type that isn’t a struct or a tuple(via public member function)

std::filesystem::directory_iterator linker issue (C++17) [duplicate]

c++ c++17

Why isn't std::variant allowed to equal compare with one of its alternative types?

c++ c++17 std-variant

When do you need a null terminated string in a read-only scenario?

c++ string c++17 string-view

Static member access in constant expressions

Why does std::find_if(first, last, p) not take predicate by reference?

Using enum instead of struct for tag dispatching in C++

c++ c++17 tag-dispatching

Rationale of restrictive rules for extract and re-insert with map

Passing std::filesystem::path to a function segfaults

Can I initialize an array using the std::initializer_list instead of brace-enclosed initializer?

Why is there no std::future::then in C++17?

[[maybe_unused]] on member variable, GCC warns (incorrectly?) that attribute is ignored

Why does auto seemingly deduce a reference when using structured bindings?

Why is std::variant unable to hold array object types while union can?

Can std::is_invocable be emulated within C++11?

c++ c++11 c++17

how to capture a parameter pack by forward or move?

c++ c++17