
7 Jul
2013
7 Jul
'13
2:04 p.m.
Is there any interest of "C# property" like library? struct vec2 { float get_x() const{...} float set_x() const{...} ... property_rw<float, vec2, &vec2::get_x, &vec2::set_x> x; vec2() : y(this) {} }; vec2 v; v.x = 15.0f; cout << v.x << endl; Example: http://sourceforge.net/projects/cproperty/?source=dlp Regards, Metodi Todorov