Category: C++

0

Template

Here you are a short review code for templates Explicit Initialization forces compiler to create a version of code. Explicit Specialization is the way for creating an alternative implementation of a template method.

0

All Virtual Methods Are Abstract in CPP

Virtual is a keyword to declare that the method must be override If all method is virtual and equals 0, the class runs as an interface. Override keywords shows that the virtual method has...

0

initializer_list c++

If you set a list to an abject (or on auto keyword). CPP compiler assumes that the type of variable is initializer_list

0

Constexpr in C++

Constexpr is a new keyword for a C++ developer. Normally Const returns constant but in runtime. Constexpr generally is used in front of a function. The function should be able to calculate in compile...

0

Enums in C++

Here is the short note Enum class a new type, It is, of course, an enum bat using namespace. Type is the variable is char in here and the value of a type declared...

0

Smart pointers

There are two types of smart pointers. The unique pointer is a standard method which came from C++11 implementation that returns a pointer. A unique pointer does not to be shared by other parts...