Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-05-27 22:31:51


Author: steven_watanabe
Date: 2008-05-27 22:31:51 EDT (Tue, 27 May 2008)
New Revision: 45848
URL: http://svn.boost.org/trac/boost/changeset/45848

Log:
Added fix for como
Text files modified:
   sandbox/units/libs/units/test/test_custom_unit.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: sandbox/units/libs/units/test/test_custom_unit.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_custom_unit.cpp (original)
+++ sandbox/units/libs/units/test/test_custom_unit.cpp 2008-05-27 22:31:51 EDT (Tue, 27 May 2008)
@@ -30,6 +30,8 @@
 template<int Mass, int Length, int Time>
 struct simple_unit {};
 
+BOOST_TYPEOF_REGISTER_TEMPLATE(simple_unit, (int)(int)(int));
+
 template<int Mass, int Length, int Time>
 simple_unit<Mass, Length, Time> operator+(const simple_unit<Mass, Length, Time>&,
                                           const simple_unit<Mass, Length, Time>&) {}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk