Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Parentheses inside template arguments e.g. std::function<int(int, float)>

Why can't I make a unique pointer to an array, when I can make a shared pointer?

c++ c++17

Using std::apply on class method

c++ tuples c++17 c++20 stdapply

Is it defined behaviour to assign to function call in or in if (C++17)

C++ enum class default value without initialization

c++ gcc c++17

Is copy elision mandatory (if allowed at all) in the ternary operator?

MSVC C++ 17 - warning C4121 "alignment of a member was sensitive to packing"

How to fix a warning (ignoring attributes) with a `vector` of `__m256`

Generate const array of pointers to callback functions

c++ lambda callback c++17

Testing if std::pointer_traits can work with my type

Is it possible to compile a project with two different language standards?

c++ c++17 c++14 refactoring

Synchronising with mutex and relaxed memory order atomic

No function names when using gperftools/pprof

Iterating regex submatches represented as std::basic_string_view

c++ c++17 tokenize

Why doesn't a container (e.g.) vector pass allocator to allocator-aware element-type?

c++ c++17 allocator

C++ class reference conversion into && parameter does not work

c++ c++17

Is there any way to mark a function parameter as constexpr?

c++ c++17 constexpr

why does -D_FORTIFY_SOURCE=2 has no effect in my compilation?

gcc c++17 fortify-source

Any way to do a std::upper_bound on a member variable?

c++ c++17

How to avoid the "pessimizing-move" warning of NRVO?