Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

How to efficiently get a `string_view` for a substring of `std::string`

c++ view c++17 stdstring

What are template deduction guides and when should we use them?

How to get the file size in bytes with C++17

What are the evaluation order guarantees introduced by C++17?

How does guaranteed copy elision work?

c++ c++17 copy-elision

std::ignore with structured bindings?

c++ language-lawyer c++17

Why use std::make_unique in C++17?

c++ c++17 unique-ptr

C++20 behaviour breaking existing code with equality operator?

experimental::filesystem linker error

c++ gcc c++17

Lambda returning itself: is this legal?

Most elegant way to write a one-shot 'if'

c++ if-statement c++17

polymorphic_allocator: when and why should I use it?

c++ allocator c++17

How do inline variables work?

c++ c++17

How to enable C++17 compiling in Visual Studio?

Does C++11, 14, 17 or 20 introduce a standard constant for pi?

What made i = i++ + 1; legal in C++17?

c++ language-lawyer c++17

What is string_view?

std::lock_guard or std::scoped_lock?

How exactly is std::string_view faster than const std::string&?

c++ string c++17 string-view

What is the purpose of std::launder?