Search code examples
Is `std::map<std::string, int>` faster than `std::map<std::string_view, int>`?...

c++c++20string-view

Read More
clang error on exception specification from C++20 on...

c++c++20clang++exception-specification

Read More
Correctly using C++20 `[[likely]]`/`[[unlikely]]` in `switch` statements...

c++attributesswitch-statementc++20branch-prediction

Read More
C++ concept - allow any std::format() able type?...

c++c++20c++-conceptsstdformat

Read More
Why does GCC generate different types for the same lambda in a template context?...

c++c++20

Read More
(x != x) for default equality operator==...

c++language-lawyerc++20comparison-operatorsconst-correctness

Read More
C++20 concepts that take function type as parameter: how to express compactly while adhering to DRY...

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

Read More
Iterator for 3D index using a containerless iterator and parallel std::for_each...

c++iteratorstdc++20iota

Read More
Why is concept and class having same name disallowed...

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

Read More
Elegantly tell content-assist that my "S_Something" class is really always "S<.......

c++templatesc++20

Read More
Coroutine return_void; difference between co_return; and falling off the end...

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

Read More
How to implement generator that can be used with ranges views...

c++generatorc++20std-ranges

Read More
Copy elision when function returns a local variable and temporary via different paths...

c++c++17c++20copy-elisionreturn-value-optimization

Read More
Why will std::rel_ops::operators be deprecated in C++20?...

c++standardsdeprecatedstdc++20

Read More
"a coroutine's promise must declare either 'return_value' or 'return_void'&...

c++visual-studio-2019c++20c++-coroutine

Read More
Is it valid to call std::destroy_at on a unconstructed object?...

c++language-lawyerc++20

Read More
Questions about ranges::distance implementation...

c++gccc++20libstdc++std-ranges

Read More
How to sort descending with cpp 20 ranges projections...

c++c++20comparatorstd-ranges

Read More
string::rfind with count parameter fails to find the target char...

c++stlc++20visual-studio-2022

Read More
Using parameter pack on nested classes to declare a tuple...

c++c++20stdtuplefold-expression

Read More
Argument-dependent lookup in Visual C++...

c++templatesvisual-c++c++17c++20

Read More
Create span of string_views from C string array...

c++c++20string-viewstd-span

Read More
Type trait that sums values of several integral constant types...

c++templatesc++20template-meta-programmingtype-traits

Read More
Is it mandatory to infer the type of the default template argument on each instantiation?...

c++language-lawyerc++20

Read More
Implementing take_while_inclusive (or std::delimit): views::take_while but including element missing...

c++c++20std-rangesrange-v3

Read More
Is the load part of a read-modify-write operation of atomic object guaranteed to read the last value...

c++language-lawyerc++20atomic

Read More
What is the best approach for using std::ranges/std::views with std::expected in C++23?...

c++c++20c++23

Read More
What is std::views::all introduced for in C++20?...

c++standardsc++20stdstd-ranges

Read More
Singleton class with std map of unique_ptr is throwing error on compilation...

c++singletonc++20unique-ptrstdmap

Read More
Ramifications of C++20 requiring two's complement...

c++undefined-behaviortwos-complementc++20

Read More
BackNext