Well, I took a quick break from CUDA and GPU programming to look at C++ 11 programming.
The new C++ features are actually quite interesting. The things that I really appreciated included
- the auto keyword,
- the ability to define class member variables in the class definition,
- lamda's,
- "using" instead of "typedef"
- inbuilt types for int32_t and int64_t (and the others)
- the constexpr keyword
- the "move" operator - this is really useful
- pointer types ( shared_prt<> ) with the special destruction behavior
- the concurrency model, C++ really needed decent threading support for a long time
to anyone reading this who needs more ... I really suggest downloading a complete guide or cheat sheet for the language.
No comments:
Post a Comment