Tag Archives: C++ casting operators

Casting Operators of C++ (Static Cast).

This is the first casting operator provided in c++. Syntax for using this operator is var=static_cast<type_id>expression static_cast can perform conversions between pointers to related classes, not only from the derived class to its base, but also from a base class to its derived. … Continue reading

Posted in cpp facts | Tagged | Leave a comment