Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in static-cast

cast Derived*const to Base*const

c++ constants static-cast

C++: What is the correct cast for offseting to std::vector iterator?

static_cast taking away constness

c++ static-cast const-cast

How does implementing multiple COM interfaces work in C++?

Cast float to int, or int to float?

c++ constants static-cast

old-style simple cast precedence in c++

Static cast vs. dymamic cast for traversing inheritance hierarchies

Why does static_cast gives different memory locations for same object?

Accessing subclass members from a baseclass pointer C++

Safety of static_cast to pointer-to-derived class from base destructor

should I use it or static_cast<void*> then static_cast<myType*> to avoid reinterpret_cast?

Why go through the trouble of static_cast-ing a number to a double?

c++ casting double static-cast

static_cast from 'const unsigned char *const *' to 'const char *const *' is not allowed

c++ static-cast

Can vtable overhead be avoided using a static_cast?

C++ proper way to static_cast

C++ static_cast from int* to void* to char* - can you help me to understand this code?

c++ static-cast

Conversion operator implemented with static_cast

reinterpret_cast / static_cast and undefined behavior

Why is static_cast of void* to another type allowed?

Are there performance risks for using static_cast to deal with a vector of mixed (base & derived) objects? (aka "it this a dumb idea?")

c++ vector static-cast