
On 2009-12-26, OvermindDL1 wrote:
You could just auto it. :) BOOST_AUTO(v, l/t); Then you do not need to bother figuring out what type it is, although it is your light_year_per_hour, although maybe a little more efficient representation.
If you just want the type of an expression like l/t if you want to typedef it or something, then you can use BOOST_TYPEOF. It is all in the documentation. :) _______________________________________________
Oh that's perfect; that has solved my problem! Thank you very much, and it only took 5 seconds to compile. Brandon
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Brandon www.creatorspiritus.com Blog and forum discussing living a Christ-centered life Follow me on Twitter: http://twitter.com/devbanana