Ataraxia through Epoché

Symphilosophein 狂者進取,狷者有所不為也。

Showing posts with label cpp_post_increment. Show all posts
Showing posts with label cpp_post_increment. Show all posts

Jan 18, 2016

[C++] post increment of type instance during return behavior is defined even for integral type.

http://stackoverflow.com/questions/2380803/is-the-behavior-of-return-x-defined


i.e
Same as we define our own type's post ++/-- operator.


Posted by vsdmars at 12:44 PM 0 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: cpp, cpp_post_increment, stackoverflow
Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

About Me

My photo
vsdmars
是日已過,命亦隨減,如少水魚,斯有何樂?大眾!當勤精進,如救頭然,但念無常,慎勿放逸!大直若屈,大巧若拙,大辯若訥
View my complete profile