Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
Daniel Langr
Prague, Czech Republic
top
accounts
reputation
activity
subscriptions
Top Questions
69
votes
Why isn't there a std::construct_at in C++17?
c++
c++17
placement-new
asked Oct 24, 2018 at 10:23
stackoverflow.com
55
votes
Do current x86 architectures support non-temporal loads (from "normal" memory)?
c++
caching
x86
cpu-cache
prefetch
asked Oct 17, 2016 at 22:52
stackoverflow.com
48
votes
Why doesn't GCC optimize out deletion of null pointers in C++?
c++
gcc
null
compiler-optimization
delete-operator
asked Aug 15, 2017 at 9:01
stackoverflow.com
30
votes
Why does std::vector reserve not "double" its capacity, while resize does?
c++
vector
resize
capacity
asked Jan 31, 2018 at 8:38
stackoverflow.com
28
votes
Why can't constructors be explicitly called while destructors can?
c++
constructor
destructor
placement-new
explicit-destructor-call
asked Jul 17, 2017 at 10:40
stackoverflow.com
28
votes
Will specialization of function templates in std for program-defined types no longer be allowed in C++20?
c++
std
template-specialization
function-templates
c++20
asked Oct 11, 2018 at 12:54
stackoverflow.com
21
votes
Why isn't move constructor elided whenever possible with `make_x()` functions?
c++
language-lawyer
move-semantics
perfect-forwarding
copy-elision
asked Jan 12, 2018 at 12:23
stackoverflow.com
21
votes
Standard or custom exception in C++?
c++
exception
standards
asked Jan 20, 2011 at 13:29
stackoverflow.com
21
votes
How to explicitly instantiate a template for all members of MPL vector in C++?
c++
boost
vector
boost-mpl
explicit-instantiation
asked Apr 19, 2011 at 11:24
stackoverflow.com
19
votes
Is the value of `this` pointer constant during the object's lifetime?
c++
this
language-lawyer
object-lifetime
asked Jan 15, 2020 at 10:17
stackoverflow.com
1
2
3
4
next
Top Answers
50
Can I easily iterate over the values of a map using a range-based for loop?
stackoverflow.com
29
Parallel Loops in C++
stackoverflow.com
21
How do I output coloured text to a Linux terminal?
stackoverflow.com
18
Is it valid to override virtual function with pure specifier?
stackoverflow.com
17
Does the behavior of guaranteed copy elision depend on existence of user-defined copy constructor?
stackoverflow.com
17
Why does deleting the move constructor cause a compile error?
stackoverflow.com
15
Why allocate_at_least() in C++23?
stackoverflow.com
15
using std::is_same, why my function still can't work for 2 types
stackoverflow.com
15
How do I interpret a message payload without violating type aliasing rules?
stackoverflow.com
14
auto fail to deduce correct return type
stackoverflow.com
13
Why is my defaulted move constructor not noexcept?
stackoverflow.com
13
Why does std::tuple break small-size struct calling convention optimization in C++?
stackoverflow.com
12
How do c++ compilers find an extern variable?
stackoverflow.com
12
C++20 concepts: int not swappable_with int
stackoverflow.com
12
Move constructor called twice when move-constructing a std::function from a lambda that has by-value captures
stackoverflow.com
11
Get type contained in variant at run time in C++?
stackoverflow.com
11
Why does t+=i+'a' give the correct output while t=t+i+'a' gives an error?
stackoverflow.com
11
C++ Concepts: checking for template instantiation
stackoverflow.com
10
How to use omp parallel for and omp simd together?
stackoverflow.com
10
What is the difference between packaged_task and async
stackoverflow.com
10
How can I modify values in a map using range based for loop?
stackoverflow.com
10
Can b&&0 be optimized
stackoverflow.com
9
Anonymous constructor and destructor call in vector
stackoverflow.com
9
Is there an way to avoid writing constructors for all the types in a std::variant class member?
stackoverflow.com
9
Does Visual Studio 2017 need an explicit move constructor declaration?
stackoverflow.com
9
Does std::initializer_list heap allocate memory?
stackoverflow.com
9
uniform_real_distribution operator () compilation errors
stackoverflow.com
8
C++ NUMA Optimization
stackoverflow.com
8
Why does Expected<T> in LLVM implement two constructors for Expected<T>&&?
stackoverflow.com
8
Read uint8_t from std::stringstream as a numeric type
stackoverflow.com
1
2
3
next
Stack Exchange works best with JavaScript enabled