C++ 11 feature: Initializer Lists and Static Assertions
In this chapter we shall study 2 new concepts of C++. 1. Initializer List 2. Static Assertions 1. Initializer List It is used to initialize…
C++ 11 feature: Forwarding References
Forwarding Reference is a new feature in C++11. They are also called as Universal References. It means, it will binds to both lvalues and…
C++ 11 feature: Parameter Pack and Variadic Templates
Parameter Pack: Parameter pack is the new feature in C++11. “…” is the syntax to create a parameter pack or to expand one .…
C++ 11 and 14 feature lambda expression
Lambda function is used for functional programming. In this chapter we shall learn about lambda functions. Lambda expressions are used to…
C++ 11 feature: reinterpret_cast
“reinterpret_cast” has been introduced in C++ 11. This cast should be carefully used. * reinterpret_cast is used to convert one…
C++ 11 feature: dynamic_cast with RTTI
“dynamic_cast” is new concept in C++ 11. dynamic_cast is used at runtime to check the correctness of down casting. As it checks…
C++ 11 feature: const_cast
“const_cast” is new concept in C++ 11. const_cast is used to remove the constantness from references and pointers. I agree we used…
C++ 11 feature: static_cast
Casting is a new feature in C++. Below are the different types of csating available: 1. Static Cast 2. Dynamic Cast 3. Const Cast 4.…
C++ 11 feature: typealias
“typealias” is a new feature introduced in C++ 11. It is the replacement of typedef. “using” is the keyword used in…