Glas :Re: [glas] value_type |
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-10-10 02:28:33
Hi all,
I have been working on the dot(v,w) product. The result_type determination for
x and y with different value_type's is the result_type of x*y where x and y
have the value_type's of v and w respectively. I have use BOOST_TYPEOF( x*y )
to determine this type. It seems to work quite well. I also did a test with
boost::quaternion<double>.
With the AIX compiler VisualAge Version 6, it does not compile, however.
Does someone have experience with BOOST_TYPEOF?
Thanks
Karl