Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57605 - trunk/boost/exception
From: daniel_james_at_[hidden]
Date: 2009-11-12 14:18:43


Author: danieljames
Date: 2009-11-12 14:18:42 EST (Thu, 12 Nov 2009)
New Revision: 57605
URL: http://svn.boost.org/trac/boost/changeset/57605

Log:
Prevent ADL from finding other dispatch functions or types. Required for #2094.

Richard Smith.
Text files modified:
   trunk/boost/exception/exception.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/exception/exception.hpp
==============================================================================
--- trunk/boost/exception/exception.hpp (original)
+++ trunk/boost/exception/exception.hpp 2009-11-12 14:18:42 EST (Thu, 12 Nov 2009)
@@ -303,7 +303,7 @@
         struct
         enable_error_info_return_type
             {
- typedef typename enable_error_info_helper<T,sizeof(dispatch((T*)0))>::type type;
+ typedef typename enable_error_info_helper<T,sizeof(exception_detail::dispatch((T*)0))>::type type;
             };
         }
 


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