Math, Machine Learning and Programming

Space for writing on the topics given in the title. Used for remembering things. Updated every now and then, given enough time.

Wednesday, February 12, 2014

C++11: Initialize non-static data members

As I just found out, C++11 allows you to initialize non-static data members. This comes in handy for defining default values for member variables, which can be overridden by specific constructors.
Check out https://blogs.oracle.com/pcarlini/entry/c_11_tidbits_non_static for more details.
Posted by Unknown at 1:17 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2015 (1)
    • ►  January (1)
  • ▼  2014 (12)
    • ►  August (2)
    • ►  July (3)
    • ►  June (2)
    • ►  May (2)
    • ►  April (2)
    • ▼  February (1)
      • C++11: Initialize non-static data members
  • ►  2013 (30)
    • ►  December (3)
    • ►  November (5)
    • ►  October (1)
    • ►  September (2)
    • ►  July (4)
    • ►  June (7)
    • ►  May (2)
    • ►  February (4)
    • ►  January (2)
  • ►  2012 (12)
    • ►  December (1)
    • ►  November (5)
    • ►  October (1)
    • ►  August (1)
    • ►  July (4)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.