"This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole goes."
2013년 7월 3일 수요일
enable_shared_from_this를 사용하는 이유
class 내부에서 shared_ptr에 this를 넣고 싶을 경우 enable_shared_from_this를 상속해서 사용해야 한다. 자세한 설명과 이유는 여기서.
댓글 없음:
댓글 쓰기