쑥갓 2005. 11. 22. 23:50

This keyword can only be applied to non-static and non-const data members of a class. If a data member is declared mutable, then it is legal to assign a value to this data member from a const member function.

라고 msdn에 나와있다.
const 멤버함수에서 수정할 수 있단다.
보고나니 아...이거였지...라는 생각이 난다-_-;

크리티컬섹션거는거때매 const를 붙이지 못해서 불만을 뿜어내고 있었는데..
흠흠..

이런 변수 키워드들에 대해 한번 찾아봐야지..하고 계속 미루고 있었는데
이 게으름증이란..헹~

ps. volatile은 내용은 대충 알것도 같은데 어떤 상황에 써야할지는 잘 모르겠다-.ㅜ