http://www.parashift.com/c++-faq-lite/const-correctness.html#faq-18.13
const 로 선언된 object 에 대한 포인터(type * const pointer_name)를 const_cast 로 constness 벗겨내는건 standard 에서 undefined이다.
Use mutable members, instead.
Tags:
http://www.parashift.com/c++-faq-lite/const-correctness.html#faq-18.13
const 로 선언된 object 에 대한 포인터(type * const pointer_name)를 const_cast 로 constness 벗겨내는건 standard 에서 undefined이다.
Use mutable members, instead.
Leave a Reply