Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-05-31 18:08:00


Author: steven_watanabe
Date: 2008-05-31 18:08:00 EDT (Sat, 31 May 2008)
New Revision: 45995
URL: http://svn.boost.org/trac/boost/changeset/45995

Log:
Made BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS private
Text files modified:
   sandbox/units/boost/units/conversion.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: sandbox/units/boost/units/conversion.hpp
==============================================================================
--- sandbox/units/boost/units/conversion.hpp (original)
+++ sandbox/units/boost/units/conversion.hpp 2008-05-31 18:08:00 EDT (Sat, 31 May 2008)
@@ -136,6 +136,10 @@
     } \
     void boost_units_require_semicolon()
 
+/// INTERNAL ONLY
+/// Users should not create their units in namespace boost::units.
+/// If we want to make this public it needs to allow better control over
+/// the namespaces. --SJW.
 /// template that defines a base_unit and conversion to another dimensionally-consistent unit
 #define BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(namespace_, name_, name_string_, symbol_string_, factor, unit, id)\
 namespace boost { \


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