C++ Move 문법을 이용한 외부 할당 메모리 포인터 관리
Using C++ Move Semantics to Manage Pointers to Externally Allocated Memory The win32 subsystem often returns pointers to objects that need to be deallocated by the caller. In this article, I show a way to do this reliably and in an exception-safe manner. www.codeproject.com win32 하위 시스템은 호출자가 할당을 해제해야 하는 객체들에 대한 포인터를 반환하는 경우가 많습니다. 이 글에서 이를 안정적이고 예외로부터 안전한 방식으로 수행하는 방법을 보여 드리겠습니다. 소개 저는 최근에 보안 관..
2022.11.14