CppStack's profile picture. StackOverflow feed of C++ questions matching certain criteria.

C++ StackOverflow

@CppStack

StackOverflow feed of C++ questions matching certain criteria.

Why can a class that does not implement member functions be instantiated in C++? [Score:23] bit.ly/3EuXzzq


Are intmax_t and uintmax_t guaranteed to be of the same size? [Score:25] bit.ly/3Yl6rzT


Why does removing 'const' from the constructor parameter stop the class from being instantiated? [Score:29] bit.ly/3wWUvYI


Overload resolution for function templates with auto non-type template parameter [Score:9] bit.ly/3R2hCut


Does wrapping an lvalue in double curly braces create a temporary object that can be passed as an rvalue reference? [Score:8] bit.ly/3iBRl9y


Is it possible to validate the input to a user-defined literal at compile time [Score:11] bit.ly/3XwjoFT


The reasoning behind clang's implementation of std::function's move semantics [Score:22] bit.ly/3GD60sP


Can I copy-elide an immovable & uncopyable function result into an optional? [Score:17] bit.ly/3GX5vLC


What is the result type of the bit shift operator? [Score:16] bit.ly/3GSrymG


Is my code ill-formed if I intentionally mark a function [that I know may probably throw] noexcept to terminate immediately in case of exception? [Score:6] bit.ly/3Gh7dWu


Why does MSVC generate nop instructions for atomic loads on x64? [Score:7] bit.ly/3QsmVTH


How to stop clang from overexpanding? [Score:9] bit.ly/3WT1jBy


Assigning a subsection of C-style array using a std::array& without violating "strict aliasing" and hence invoking UB? [Score:6] bit.ly/3G3pOoP


Compiler optimization for sum of squared numbers [Score:6] bit.ly/3WRolsA


Why do different compilers behave differently with these requires expressions? [Score:9] bit.ly/3PWsOb8


Is a template with reference non-type template parameter supposed to match a template template parameter with an auto non-type template parameter? [Score:6] bit.ly/3jxaz03


Why can't std::unique_ptr be returned after structured binding without using std::move? [Score:6] bit.ly/3FYQzuP


What is causing this output typo? [Score:6] bit.ly/3YQFbtl


std::enable_if not working properly in MSVC compiler [Score:8] bit.ly/3GkdDpl


What is the motivation behind the API of the Boost Graph DFS (and other algorithms)? [Score:6] bit.ly/3GfLDCV


Loading...

Something went wrong.


Something went wrong.