I can´t found an explanation of the differences of
    /reinterpret_cast/ and /dynamic_cast/, because I can´t found
    information about /reinterpret_cast/ in Qt Documentation (5.5.0 Qt
    version).


You will probably find that Qt doesn't have much to say about them because they are part of the C++ language.

http://en.cppreference.com/w/cpp/language/dynamic_cast
http://en.cppreference.com/w/cpp/language/reinterpret_cast

...and, since you're looking at casting, you should probably know about const_cast and static_cast as well:

http://en.cppreference.com/w/cpp/language/const_cast
http://en.cppreference.com/w/cpp/language/static_cast

Also have a look then at the cast operator that Qt _does_ provide: qobject_cast: http://doc.qt.io/qt-5/qobject.html#qobject_cast

André
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to