강의

멘토링

커뮤니티

Inflearn Community Q&A

No author

This post's author information has been deleted.

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

Allocator

오버로딩 new

Written on

·

398

0

오버로딩 new가 궁금합니다 매개변수로 타입 size_t인데 어떻게 생성자로 new Knight()가 받아지는건가요?

디어셈블리에서도 해당 크기가 받아지는데 그 부분이 왜그런지 궁금합니다. 
networkMMORPGwindows-server

Answer 2

1

Rookiss님의 프로필 이미지
Rookiss
Instructor

https://docs.microsoft.com/ko-kr/cpp/cpp/new-operator-cpp?view=msvc-170

위 내용을 참고 바랍니다.

0

C++ 컴파일러가 new를 어셈블리어로 바꿀때 추가적으로 작업하는 걸로 알고 있습니다.

No author

This post's author information has been deleted.

Ask a question