Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Can the "main" function be declared with the "noexcept" specifier?

Why is this overload of a conversion operator chosen?

Using std::visit on a class inheriting from std::variant - libstdc++ vs libc++

How do I check if an std::variant can hold a certain type

c++ c++17

Return Optional value with ?: operator

c++ optional c++17

Why does moving std::optional not reset state

c++ c++17 optional option-type

Do we need to use std::launder when doing pointer arithmetic within a standard-layout object (e.g., with offsetof)?

What is the purpose and usage of `memory_resource`?

c++ c++17 allocator

Using a filesystem::path, how do you open a file in a cross-platform way?

c++ c++17

Is void{} legal or not?

Class can't access its own private static constexpr method - Clang bug?

Why is there a dummy union member in some implementations of std::optional?

How to determine whether to use <filesystem> or <experimental/filesystem>?

c++ filesystems c++17

constexpr begin of a std::array

c++ c++17 constexpr

C++ equivalent of Rust's Result<T, E> type?

Calling non-static member function outside of object's lifetime in C++17

Is std::byte well defined?

c++ c++17

What determines whether a constexpr function is a constant expression?

c++ c++17 constexpr

New std::map::erase() signature C++17

How similar are Boost.Filesystem and the C++ standard filesystem library?