Search code examples
distance between std::set begin() and std::set iterator in O(logn)...


c++stliteratorsetstd

Read More
How to move from std::optional<T>...


c++stdc++14boost-optional

Read More
How to make transform view for the nested structure data?...


c++arraysstructstdstd-ranges

Read More
How do I print a vector of chars using fmt?...


c++c++14stdnull-terminatedfmt

Read More
Why can't I `zip` a lvalue `generator`?...


c++generatorstdstd-rangesc++23

Read More
How to call in template a function with different amount of arguments?...


c++std

Read More
Why isn't there int128_t?...


c++cstdc-standard-libraryint128

Read More
Invalid use of std::ranges / std::filter...


c++stdstd-rangesc++23

Read More
How to copy values from array to array of structures?...


c++stdstd-rangesstructure-of-arrays

Read More
C++11 auto, std::function and ambiguous call to overloaded function...


c++c++11overloadingstd

Read More
Does std::unique_ptr automatically release memory when the object is released?...


c++stdunique-ptr

Read More
Why is std::conditional reject T&?...


c++11std

Read More
Why does std::push_heap generate a -Wstrict-overflow=3 warning even if no signed types are involved?...


c++g++warningsstdsigned-overflow

Read More
What is the performance overhead of std::function?...


c++booststd

Read More
Should std::get<T&>(tuple) work for zip_view's output?...


c++stdc++20c++23

Read More
Is it thread-safe if I modify an element and insert an element on same container(e.g. std::unordered...


c++containersthread-safetystd

Read More
How to convert an instance of std::string to lower case...


c++stringstdtolower

Read More
std::vector move assignment vs move construction: why is the state of 'other' not consistent...


c++stdmovemove-constructormove-assignment-operator

Read More
Can address change when passing a c++ vector by pointer...


c++std

Read More
Error on std::pair when compiling for mac / linux...


c++windowsmacosstd

Read More
Is there inlinable function for pow2?...


c++language-lawyerstd

Read More
does including <execution> require linking against tbb?...


c++parallel-processingexecutionstdtbb

Read More
Can you remove elements from a std::list while iterating through it?...


c++liststdstdlist

Read More
Why does std::vector have 2 constructors instead of 1 with default argument?...


c++c++11stlstdstdvector

Read More
C++ {fmt} issue formatting a custom abstract class...


c++stdfmt

Read More
do I need to close a std::fstream?...


c++stdfstreamofstream

Read More
When should I use a std::inplace_vector instead of a std::vector?...


c++stdc++26

Read More
std::variant reflection. How can I tell which type of value std::variant is assigned?...


c++reflectionstdvarianttype-erasure

Read More
How to store std::mdspan?...


c++stdmdspan

Read More
Why has std::reduce been added in C++17?...


c++stdc++17

Read More
BackNext