일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 다형성
- c++
- operator new
- more effective c++
- Effective c++
- 영화
- exception
- 루아
- Smart Pointer
- 영화 리뷰
- 참조자
- 함수 객체
- 암시적 변환
- 메타테이블
- 상속
- 비교 함수 객체
- effective stl
- reference
- lua
- 언리얼
- virtual function
- implicit conversion
- 반복자
- 오블완
- 티스토리챌린지
- 예외
- resource management class
- UE4
- 스마트 포인터
- 게임
Archives
- Today
- Total
목록abstract class (1)
스토리텔링 개발자
[More Effective C++] 33. 추상 클래스(abstract class)
항목 33. 상속 관계의 말단에 있지 않은(non-leaf) 클래스는 반드시 추상 클래스로 만들자 대입 문제class Animal{public: Animal& operator=(const Animal& rhs); ...};class Lizard : public Aanimal{public: Lizard& operator=(const Lizard& rhs); ...};class Chicken : public Animal{public: Chicken& operator=(const Chicken& rhs); ...};Lizard liz1;Lizard liz2;Animal* pAnimal1 = &liz1;Animal* pAnimal2 = &liz2;...*pAnimal1 = *..
개발/More Effective C++
2024. 10. 17. 11:21