Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

`std::alignment_of` versus `alignof`

Should methods returning const std::string& return const std::string_view instead?

c++ string c++17 string-view

Is it possible to make template specialization for zero template arguments?

c++ c++17

construction helper make_XYZ allowing RVO and type deduction even if XZY has noncopy constraint

Is a variable an array of size 1?

typeid("") != typeid(const char*)

c++ c++17 rtti string-literals

Return type std::optional<std::variant<...>>

Typesafe variadic function

How to befriend private nested class

c++ c++17 friend

attribute 'fallthrough' cannot be applied in this context

How to count the number of files in a directory using standard?

c++ c++17

Implicit template type deduction with two arguments of different types

If there's a constexpr if statement, why not other constexpr statements too? [closed]

c++ c++17

How to write a size() function that works on any type of collection objects?

c++ templates mfc c++17

SFINAE on assembly?

How to interpret the reachability requirement of std::launder?

std::string_view on temporary string - catch by ASan

Copy elision for direct base class initialization? [duplicate]

c++ language-lawyer c++17

reinterpret_cast, char*, and undefined behavior

Why is gcc failing when using lambda for non-type template parameter?