Search code examples
Why does separating the interface and implementation of a `std::formatter` specialization cause cons...


c++c++20header-filestemplate-specializationstdformat

Read More
Can you call a static constexpr member function at compile time?...


c++c++20constexprc++23requires-expression

Read More
get constexpr variable from a lambda function is fine , but compile fail (Visual C++) and fine (gcc)...


c++lambdalanguage-lawyerc++20constexpr

Read More
Count matching elements after splitting...


c++c++20std-ranges

Read More
How to use the <format> header...


c++formattingg++header-filesc++20

Read More
How to hide implementation details in C++ modules?...


c++visual-studioc++20c++-modules

Read More
are constrained alias templates allowed?...


c++language-lawyerc++20

Read More
Coroutine final_suspend: is it undefined behavior?...


c++c++20c++-coroutine

Read More
Is the lifetime of a local lambda as a completion handler for co_spawn i.e. a function with functor&...


c++boostlanguage-lawyerc++20boost-asio

Read More
base class's template constexpr function in derived class and got error...


c++c++20c++23

Read More
Create a vector of objects that satisfy a concept...


c++c++20c++-concepts

Read More
Best concept to check that all types in a parameter pack are unique...


c++c++20c++-concepts

Read More
cudafe++ died with status 0xc0000409 when switching to c++20 for nvcc...


c++visual-c++cudac++20nvcc

Read More
Why C++20 doesn't support out-of-order designated initializer?...


c++c++20designated-initializer

Read More
Why C++ ranges "transform -> filter" calls transform twice for values that match the fi...


c++c++20

Read More
Using std::unique_ptr with aligned type results in compiler warning...


c++clangc++20

Read More
Error returning an array from a consteval function...


c++c++20

Read More
Passing a string literal to a template char array parameter...


c++c++20constexprstring-literalscompile-time

Read More
How to print non-structural results of constexpr functions at compile time with clang++?...


c++gccclangc++20constexpr

Read More
How to sum a std::range?...


c++c++20std-ranges

Read More
Is there a way to sort a single member variable in a collection of structs using the C++ standard li...


c++sortingc++20

Read More
Why does take(n) used on an istream_view cause it to skip the next token in C++20?...


c++stdc++20std-ranges

Read More
{fmt} How to install and use {fmt} in Visual Studio?...


c++visual-studioc++20visual-studio-2022fmt

Read More
Create std::chrono::time_point from string...


c++c++20

Read More
The most efficient way to test if a positive integer is 2^n (i.e. 1, 2, 4, 8, etc.) in C++20?...


c++performancebit-manipulationc++20cpu-architecture

Read More
Can't create std::ranges::subrange with my iterator...


c++c++20std-ranges

Read More
Defaulted 3-way comparison generates more code than expected...


c++c++20spaceship-operator

Read More
Unexpected result with `std::views::transform`, probably caused by "unnamed temporary"...


c++gccclangc++20std-ranges

Read More
Implicit expression variations of a concept is not handled correctly?...


c++c++20c++-conceptsrequires-clause

Read More
Where from the standard do I read that exceptions of derived class held by base class reference are ...


c++exceptionlanguage-lawyerc++20object-slicing

Read More
BackNext