const_cast 사용 예시
#include #include using namespace std; class Person { public: Person() : name("Kim") {} explicit Person(const string& name) : name(name) {} void set_name(const string& name) { this->name = name; } string get_name() const { return name; } virtual void all_info() const { cout