Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Tree
- {
- private:
- int m_x;
- public:
- __declspec(property(put = property__set_x, get = property__get_x)) int X;
- int property__get_x()
- {
- return m_x;
- }
- void property__set_y(const int& value)
- {
- m_x = value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement