2013년 7월 3일 수요일

enable_shared_from_this를 사용하는 이유

class 내부에서 shared_ptr에 this를 넣고 싶을 경우 enable_shared_from_this를 상속해서 사용해야 한다. 자세한 설명과 이유는 여기서.

댓글 없음:

댓글 쓰기