New answers tagged c++11
4
votes
A simple String class and its special member functions
Don't using namespace std;, as that can be harmful.
Instead, write out std::uint32_t, ...
- 67.6k
4
votes
Accepted
A simple String class and its special member functions
Answer to your question
is it true that in theory and in practice that when using move constructor and move assignment operator, the move-from object shall be invalid.
No, the moved-from object must ...
- 42.4k
4
votes
Accepted
Safely starting and stopping a thread owned by a class
Don't let multiple threads access a std::thread object
Operations on a std::thread object are not thread-safe themselves. If you ...
- 42.4k
Top 50 recent answers are included
Related Tags
c++11 × 1721c++ × 1705
performance × 138
multithreading × 136
algorithm × 102
template × 100
pointers × 95
beginner × 81
strings × 73
programming-challenge × 64
linked-list × 63
template-meta-programming × 63
reinventing-the-wheel × 62
c++14 × 61
memory-management × 59
object-oriented × 53
vectors × 51
game × 49
design-patterns × 43
tree × 43
boost × 40
queue × 39
graph × 37
iterator × 34
sorting × 32