Skip to main content
eerorika's user avatar
eerorika's user avatar
eerorika's user avatar
eerorika
Software Developer
  • Member for 11 years, 5 months
  • Last seen more than a week ago
Stats
236,717
reputation
7.8m
reached
6,878
answers
4
questions
Loading…
About

C++ is a wonderful language. A collection of curious details:

  • A full-expression is not necessarily an expression at all.
  • void* is not a pointer-to-object but it is an object pointer.
  • Member pointers are not "pointers".
  • Default initialisation may leave the object uninitialised.
  • Rvalue reference variables are lvalues.
  • std::move doesn't move anything.
  • Function arguments cannot be arrays, but you can declare arguments to be arrays in which case they are "adjusted" to not be arrays.
12
gold badges
206
silver badges
343
bronze badges
19,855
Score
6,720
Posts
98
Posts %
2,676
Score
717
Posts
10
Posts %
1,434
Score
393
Posts
6
Posts %
1,377
Score
577
Posts
8
Posts %
1,181
Score
191
Posts
3
Posts %
1,066
Score
480
Posts
7
Posts %