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
SergeyA
top
accounts
reputation
activity
subscriptions
Top Questions
15
votes
Template member of a non-template class as a friend
c++
templates
language-lawyer
asked May 25, 2018 at 14:28
stackoverflow.com
14
votes
Enforcing function contract at compile time when possible
c++
asked Dec 26, 2018 at 14:53
stackoverflow.com
11
votes
Is zeroing out the "sockaddr_in" structure necessary?
c++
c
sockets
asked Mar 18, 2016 at 14:13
stackoverflow.com
10
votes
At which point does map::emplace create an object?
c++
c++11
language-lawyer
asked May 5, 2016 at 21:09
stackoverflow.com
10
votes
Why deleting void* is UB rather than compilation error?
c++
language-lawyer
undefined-behavior
delete-operator
void-pointers
asked Jun 13, 2018 at 17:33
stackoverflow.com
10
votes
How to map pthread_t to pid (on Linux)
c++
c
linux
pthreads
asked Dec 14, 2017 at 15:39
stackoverflow.com
9
votes
std::set with string key and potential efficiency loss
c++
string
asked Jun 27, 2019 at 18:39
stackoverflow.com
7
votes
Which guarantees does the C++ standard have when it comes to issuing diagnostic messages?
c++
language-lawyer
asked Jul 10, 2019 at 13:46
stackoverflow.com
7
votes
g++, bitfields and ADL
c++
argument-dependent-lookup
asked Aug 1, 2016 at 19:03
stackoverflow.com
6
votes
Is 0-initialization of atomics guaranteed to set the value member to 0?
c++
c++11
initialization
language-lawyer
atomic
asked Mar 31, 2016 at 15:42
stackoverflow.com
1
2
next
Top Answers
141
Why are types always a certain size no matter its value?
stackoverflow.com
78
Does integer overflow cause undefined behavior because of memory corruption?
stackoverflow.com
43
Why is std::equal_to useful?
stackoverflow.com
35
What does the C++ compiler do to ensure that different but adjacent memory locations are safe to be used on different threads?
stackoverflow.com
35
Socket programming - What's the difference between listen() and accept()?
stackoverflow.com
33
Is there a C++ design pattern that implements a mechanism or mutex that controls the amount of time a thread can own a locked resource?
stackoverflow.com
32
Initialize an std::array algorithmically at compile time
stackoverflow.com
32
Do mutexes guarantee ordering of acquisition? Unlocking thread takes it again while others are still waiting
stackoverflow.com
31
multiple definition error c++
stackoverflow.com
31
Static constexpr int vs old-fashioned enum: when and why?
stackoverflow.com
30
Avoid memory allocation with std::function and member function
stackoverflow.com
28
Does ::operator new(size_t) use malloc()?
stackoverflow.com
28
Can I voluntarily exit from the US after a 20 year overstay, or could I be detained at the airport?
travel.stackexchange.com
28
C vs C++ struct alignment
stackoverflow.com
26
Should I expect to see the counter in `for` loop changed inside its body?
stackoverflow.com
26
Does the C++ standard guarantee that a failed insertion into an associative container will not modify the rvalue-reference argument?
stackoverflow.com
25
default override of virtual destructor
stackoverflow.com
24
Why does C++11 not support designated initializer lists as C99?
stackoverflow.com
24
Can we see the templates instantiated by the C++ compiler?
stackoverflow.com
22
Are close() and closesocket() interchangable?
stackoverflow.com
21
Move constant object without compiler warning
stackoverflow.com
21
Default parameters: can only the last argument(s) be left?
stackoverflow.com
20
How is conditional_wait() implemented at the kernel and hardware/assembly level?
stackoverflow.com
19
What does it mean to "poison a function" in C++?
stackoverflow.com
19
How to find out if we are running in main thread?
stackoverflow.com
19
[[maybe_unused]] and Constructors
stackoverflow.com
17
Do we have auto array in c++17?
stackoverflow.com
17
Why does static library contain a main function?
stackoverflow.com
17
Can a destructor call a non-const function on a const object?
stackoverflow.com
17
Which "return" method is better for large data in C++/C++11?
stackoverflow.com
1
2
3
4
5
…
10
next
Stack Exchange works best with JavaScript enabled