1장, C++ Template 에 들어가며
들어가기에 앞서저자들에 대한 소개와, 책의 구성, 읽는 방법등을 설명하고, 이 책에서 사용된 코딩 스타일에 대해 몇가지 언급을 하는 항목이다. 이 중, 코딩 스타일에서 const 사용에 대해서 언급한 부분이 마음에 들어 정리 한다.책에서 언급하는 const 사용 방법 예시 int main( void ) { int normal_int = 100; const int const_int = 100; int const int_const = 100; const int * const_int_pointee = &const_int; int const * int_const_pointee = &int_const; int * const int_pointee_const = &normal_int; // 이 경우 CHARS를 ch..
책 정리/C++ Template
2009. 4. 6. 13:39
최근댓글