Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Direct assignment (if the pointer types are implicitly convertible, such as with derived to base, non-const to const, or any to void), or assignment after a cast. Depending on the combination of types, any of the four C++ casts (static_cast, const_cast, dynamic_cast, or reinterpret_cast) may be suitable.