I don't know much about C++, but in Python people can custom a data type, it has its own method to be bound with operator. Like str(), the function a translate an object to a string, str(theObj) is actually theObj._str()
This might also applied in tim's types such as VEC3. And it could have its own validator function, let OO solve problems! IMO, if these compound types are unavoidable, then just also wrap the primitive types up! --Buganini ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel