>>278 未定義じゃないか c++03 5.2.11の7にはこんなことが書いてある [Note: Depending on the type of the object, a write operation through the pointer, lvalue or pointer to data member resulting from a const_cast that casts away a const-qualifier68) may produce undefined behav- ior (7.1.5.1). ]