Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Sequence points - is this gcc warning a bug?

c++ c++17 language-lawyer

Type trait for copying cv reference qualifiers

c++ c++11 c++14 typetraits c++17

Is it possible to use std::byte as the underlying type for an enum class?

c++ c++17

Filter a tuple of types in c++17

c++ templates tuples c++17

Template ignores [[nodiscard]] attribute

Getting active value in std::visit without knowing which value is active

c++ c++17 variant

Default argument for a functor in a templated parameter

Is there any way to create a function that takes as argument a member function or a member?

Difference between S() vs S{}?

Neat way how to cyclically iterate 4 enum class values in both directions in C++?

Write a function that only accepts literal `0` or literal `1` as argument

How to Insert spaces in (cout << ... << args) using fold expressions?

c++17 fold-expression

inline variable is initialized more than once

C++ compile-time substring

c++ c++14 c++17

Why in C++11 or C++14 does the compiler implicitly delete the copy constructor when I declare a move assignment operator?

How to in-place-construct an optional aggregate?

What is the fastest way to see if an array has two common elements?

Is it possible to use `std::set_intersection` to check if two sets have any element in common?

c++ stl iterator set c++17

Using initializer list for a struct with inheritance

Why does the parallel for_each require forward iterators?