|
|
C++ 11: Alias and Alias Template
In C++11 programming, we use aliasing to create shorter type name for an existing longer type name using typedef keyword. Let us understand the usage of typedef and alias with an example
|
|
C++ 11 Better Type System: Scoped Enums
C++ has been trying to become a stronger type based language. Class and Struct are example of strong types whereas the implicit conversion between different types is an example of weak type system.
|
|
C++ 11 Variadic Templates
Variadic template generates templates, template generates functions or classes and class and function generate class objects or function objects.
|
|
Rvalue References and Perfect Forwarding
We declare rvalue reference with double ampersand int&& but && does not always make a variable or parameter as rvalue reference because of type deduction rules.
|
|
Understanding Rvalue References & Move Semantics of C++ 11
C++11 added a new reference type called \'rvalue reference\' and a new concept of moving object instead of copying, also known as Move Semantics
|
|
Smart pointers in C++ 11
Memory leak is a side effect of using dynamic memory allocation in C++. This is because C++ compiler does not support automatically release memory allocated in heap when they are no more required.
|
|
Extending Type function via 'auto' and 'decltype' keywords
auto and decltype are C++11/C++14 extension to the existing feature of the compiler to deduce type from another expression.
|
|
New and Exciting features in C++ 11 / C++ 14
If you are passionate programmer and loves C++ as the programming language you must know those new features introduced in C++ in 2011 and 2014.
|
|
|
|
|
|
|
To unsubscribe from Go4Expert newsletter, visit the following link:
|
|