강의

멘토링

커뮤니티

Inflearn Community Q&A

hshf123's profile image
hshf123

asked

[MMORPG Game Development with C++ and Unreal Series] Part 4: Game Server

TypeCast

Type변환이 가능 하다는 기준에 대해서 질문드립니다.

Resolved

Written on

·

283

0

강의를 듣다가 확신이 없어서 질문드립니다.

타입변환을 할 때 가능한지를 판단하는 기준이 각각의 클래스 사이즈를 보고 판단하는 것이 맞나요? 

networkwindows-serverMMORPG

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

그렇지 않습니다. 타입 변환이 가능한지 여부는
C++ 표준 dynamic_cast와 100% 동일합니다.

hshf123's profile image
hshf123

asked

Ask a question