Search code examples
Why does adding const turn a forwarding reference into an rvalue reference?...


c++templatesc++11c++14forwarding-reference

Read More
Any alternative to std::dynarray presently available?...


c++c++11c++14

Read More
How to prevent a segment of Side Effect-Free code from being optimized away?...


c++c++14benchmarkingcompiler-optimizationmicrobenchmark

Read More
error: use of deleted function ‘std::atomic<unsigned int>::atomic(const std::atomic<unsigne...


c++c++14stdatomic

Read More
Is a placeholder return type allowed for main?...


c++c++14return-type-deduction

Read More
How to implement classic sorting algorithms in modern C++?...


c++algorithmsortingc++14c++-faq

Read More
Creating a packed version of a template class in C++14...


c++templatesc++14packed

Read More
Are the definitions of "core constant expression" and "constant expression" circ...


c++language-lawyerc++14constant-expression

Read More
Does my class satisfy the requirements of an iterator?...


c++iteratorlanguage-lawyerc++14

Read More
error: invalid conversion from 'const char*' to 'char' [-fpermissive]...


c++14

Read More
Is it possible to backport std::byte to C++14...


c++c++14language-lawyerstrict-aliasingstd-byte

Read More
Why do I get a segmentation fault when looping through this vector?...


c++vectorsegmentation-faultc++14

Read More
smart pointer and QThread issue...


c++multithreadingc++11qt5c++14

Read More
Error on MSVC when trying to declare std::make_unique as friend of my templated class...


c++c++14unique-ptrfriend-functionmsvc12

Read More
How can I make C++ ADL to look into all instances of a template?...


c++c++11c++14template-meta-programmingconstexpr

Read More
what is the difference between operators associativity and order of evaluation in c++...


c++c++14operators

Read More
Why my Expression value lost from phoenix::bind function call?...


c++c++14boost-spiritboost-phoenix

Read More
static constexpr member initialization in header only library...


c++templatesstaticc++14

Read More
Why std::future is different returned from std::packaged_task and std::async?...


c++c++14stdasyncpackaged-taskstd-future

Read More
Arity of aggregate in logarithmic time...


c++c++11aggregatec++14type-traits

Read More
The same code gives different output when using different versions of C++...


c++gccc++17g++c++14

Read More
Constexpr with new operator...


c++c++14

Read More
When I loop through a C++ map, why does it give me an instantiation error?...


c++loopsdictionaryc++14

Read More
Reasoning about a program containing a data race...


c++c++14data-race

Read More
C++ auto return type deduction in operator+=...


c++c++14operator-overloading

Read More
Why does this simple code not consistently compile?...


c++visual-c++g++c++14clang++

Read More
Custom static cast function template in C++14...


c++templatescastingc++14return-value-optimization

Read More
Is use of `auto` for a function argument against the C++ standard?...


c++c++14

Read More
Why does taking a function pointer to `operator new` compile in C++14, but not in C++17?...


c++c++17c++14operator-overloadingauto

Read More
Why does calling std::move on a const object call the copy constructor when passed to another object...


c++c++11c++14

Read More
BackNext