Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54399 - trunk/boost/functional/hash/detail
From: daniel_james_at_[hidden]
Date: 2009-06-27 03:39:13


Author: danieljames
Date: 2009-06-27 03:39:12 EDT (Sat, 27 Jun 2009)
New Revision: 54399
URL: http://svn.boost.org/trac/boost/changeset/54399

Log:
Add am implementation note about the Visual C++ problems.
Text files modified:
   trunk/boost/functional/hash/detail/float_functions.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/functional/hash/detail/float_functions.hpp
==============================================================================
--- trunk/boost/functional/hash/detail/float_functions.hpp (original)
+++ trunk/boost/functional/hash/detail/float_functions.hpp 2009-06-27 03:39:12 EDT (Sat, 27 Jun 2009)
@@ -96,6 +96,11 @@
 // Then the call_* functions select an appropriate implementation.
 //
 // I used c99_func in a few places just to get a unique name.
+//
+// Important: when using 'using namespace' at namespace level, include as
+// little as possible in that namespace, as Visual C++ has an odd bug which
+// can cause the namespace to be imported at the global level. This seems to
+// happen mainly when there's a template in the same namesapce.
 
 #define BOOST_HASH_CALL_FLOAT_FUNC(cpp_func, c99_func, type1, type2) \
 namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS { \


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