Search code examples
C++20 and newer - what's the best way to implement an "enum with more functionality"?...

c++templatesc++20c++-conceptsc++23

Read More
What is the ideal way to customize the separators and brackets for formatting ranges?...

c++std-rangesc++23fmtstdformat

Read More
Getting partial template types from nested templates...

c++c++23c++-templates

Read More
Which concept to use for checking an iterator's value type?...

c++iteratorc++-conceptsc++23

Read More
Is it possible to use `std::index_sequence` in a concept?...

c++templatesc++-conceptsc++23

Read More
Capturing the current source location and std::format_args for a compile-time checked log function...

c++c++23

Read More
What is the idiomatic way to have a member function of a template class with a declaration valid onl...

c++c++20c++-conceptsc++23requires-clause

Read More
C++23: Is it valid to modify the elements of a `zip_view`?...

c++language-lawyerstd-rangesc++23

Read More
error: 'to' is not a member of 'std::ranges'...

c++c++23

Read More
What operations trigger end of lifetime of objects at a given location?...

c++language-lawyerlifetimec++23

Read More
What is std::expected in C++?...

c++error-handlingc++-faqc++23std-expected

Read More
Am I misunderstanding how `std::views::cartesian_product` is supposed to work?...

c++cartesian-productstd-rangesc++23

Read More
How can we use std::tuple in conjunction with ranges...

c++rangefmtc++23

Read More
Preserving std::forward_range during chunk transformation?...

c++std-rangesc++23

Read More
std::views::chunk, std::views::transform, inputs ranges, and ill-formedness...

c++undefined-behaviorstd-rangesc++23

Read More
Usage of std::is_constant_evaluated() since C++23...

c++c++20c++23consteval

Read More
How do I reuse a C++23 `std::generator` instance as a range in multiple range expressions?...

c++c++20std-rangesc++23

Read More
std::forward_like error with clang and deducing this...

c++selfperfect-forwardingc++23forwarding-reference

Read More
Why is it done in std::ranges that I can't split the range that I got from join with transform...

c++functional-programmingstd-rangesc++23

Read More
Why does a 'deducing this' template give different results than overloading by rvalue/lvalue...

c++c++23

Read More
Why std::expected's `operator==` is not SFINAE-friendly?...

c++c++23std-expected

Read More
Does C++ guarantee a minimum string length for string literals?...

c++language-lawyerc++23

Read More
Is type-punning pointer-interconvertible types exempt from strict aliasing in C++23?...

c++language-lawyerstrict-aliasingc++23

Read More
Are multiple identical non-inline constexpr variable definitions allowed in different translation un...

c++language-lawyerconstexprc++23one-definition-rule

Read More
Does C++23 allow multiple definitions of a namespace-scope non-inline variable in different translat...

c++language-lawyerc++23one-definition-rule

Read More
Can someone explain the rules of object lifetimes and uninitialized memory in C++ (context: std::inp...

c++initializationlifetimec++23placement-new

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
How can I pass a span of an array to a base class?...

c++c++23

Read More
How does std::basic_const_iterator support `it1 - it2`...

c++c++23const-iterator

Read More
Short-circuit in noexcept expressions...

c++c++23noexcept

Read More
BackNext