ã³ã³ã¹ãã©ã¯ã¿å ã§ä»ã®ã³ã³ã¹ãã©ã¯ã¿ãå¼ã¹ãããã«ãªã
class widget { int x_; int y_; int z_; widget(int x, int y, int z) : x_(x), y_(y), z_(z) {} public: widget() : widget(0, 0, 0) {} widget(const widget& other) : widget(other.x_, other.y_, other.z_) {} };