Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Uniform and Convenient Initialization Syntax

Not only does C++98 have four different syntactic forms for initializing class objects, aggregates, char arrays and scalar types, it doesn't let you initialize member arrays and dynamically allocated arrays at all. Learn how C++0x fixes these flaws with a uniform and intuitive initialization syntax.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

lass objects use a constructor argument list as their initializer, aggregates use braces, strings use literal text with double quotes, and containers use yet another form of initialization. These diverse initialization forms confuse users and make template code more obfuscated, not to mention the fact that C++98 doesn't provide a means for initializing member arrays and dynamically-allocated arrays. Learn how C++0x's new initialization notation fixes these embarrassments, making your code safer and easier to read and maintain.

C++98 initialization syntax is confusing, inconsistent, and lacking.

Use the new, uniform C++0x initialization form for all types of objects and arrays.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date