일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- 메타테이블
- 상속
- 게임
- exception
- more effective c++
- resource management class
- c++
- lua
- 반복자
- 비교 함수 객체
- iterator
- effective modern c++
- 참조자
- UE4
- 언리얼
- effective stl
- 영화 리뷰
- 암시적 변환
- implicit conversion
- Smart Pointer
- 함수 객체
- 예외
- virtual function
- 스마트 포인터
- reference
- 영화
- operator new
- 티스토리챌린지
- Effective c++
- 오블완
Archives
- Today
- Total
목록2024/08/12 (1)
스토리텔링 개발자
[More Effective C++] 10. 생성자 예외 처리
항목 10. 생성자에서는 리소스 누수가 일어나지 않게 하자. 생성자 설계 예제// 이미지 정보 클래스class Image{public: Image(const string& imageDataFileName); ...};// 오디오 정보 클래스class AudioClip{public: AudioClip(const string& audioDataFileName); ...};// 전화번호 클래스class PhoneNumber { ... };// 주소록에 들어가는 하나의 정보에 대한 클래스class BookEntry{public: BookEntry(const string& name, const string& address = "", co..
Effective C++/More Effective C++
2024. 8. 12. 11:33