Introduction to modern C++

It is now often to see on the internet recently talks about modern c++. Many people wonder on what modern c++ is, is it a new language on it own? Is a new language created from c++ just like c was created from c. No my friend it is not a new language, think of it as an update to c++, so as to fit in with modern programming languages like JavaScript, Go, Rust, Dart, Java 8 etc.

Which c++ is old and which one is modern?
The old version of c++ are, c++98 and c++03
While the new ones are c++11, c++14,c++17 and the proposed c++2a (2020)

What is in modern c++

C++11

  • Automatic type declaration using the auto keyword
  • New type declaration using decltype
  • The range for loop
  • list initialization
  • Static assert
  • Type alias
  • override and final specifial
  • lambda expression
  • move construction
  • noexcept keyword
  • parameter packs
  • and some new container libraries
C++14
  • variadic template
  • substitution failure is not an error
  • integer sequense
C++17
  • Dynamic exception specification
  • std::optional
  • std::any
  • variant
  • concept
  • execution policy
  • filesystem library
  • Ranges etc.
It is our plan to post on these topics one by one in the future so stay tuned


Never miss out any of this blog articles, Receive our regular updates by joining our mailing list, connect with us on facebook, follow us on Google+ connect with us on Pinterest, add us on Tumblr, and follow us on Twitter.

Never forget to promote and recommend this post to others, Remember sharing is caring.
For other suggestions and queries that are not related to this post should be forwarded to us through the contact form or better still you can get in touch with us on WhatsApp with this number +2348163702703.

Enjoy and have fun!

©2017, copyright Ogunleye Peter Opeoluwa
Admin @Idea4novice : Tech Weblog On How Tos, Tips And Tricks
Share on Google Plus

About Ogunleye Peter Kleve

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

1 Post a Comment/Comments:

  1. Thankyou sir. You really write too good. Never leave blogging.. ☺️

    ReplyDelete