Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52745 - sandbox/mirror/boost/mirror
From: chochlik_at_[hidden]
Date: 2009-05-02 15:35:09


Author: matus.chochlik
Date: 2009-05-02 15:35:08 EDT (Sat, 02 May 2009)
New Revision: 52745
URL: http://svn.boost.org/trac/boost/changeset/52745

Log:
[mirror 0.4.x]
- minor fix of meta-member-functions for the MSCV compiler
Text files modified:
   sandbox/mirror/boost/mirror/meta_mem_functions.hpp | 15 +++++++--------
   1 files changed, 7 insertions(+), 8 deletions(-)

Modified: sandbox/mirror/boost/mirror/meta_mem_functions.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_mem_functions.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_mem_functions.hpp 2009-05-02 15:35:08 EDT (Sat, 02 May 2009)
@@ -205,20 +205,19 @@
                 static mpl::true_ returns_something(T(*)(FunctionIndex));
                 static mpl::false_ returns_something(void(*)(FunctionIndex));
 
- typedef BOOST_TYPEOF(
+ typedef BOOST_TYPEOF_TPL(
                         returns_something(&base_meta_data::get_result_of)
                 ) non_void_rv;
 
                 template <typename Idx>
                 struct reflected_result
                 {
- typedef BOOST_MIRRORED_CLASS(
- BOOST_TYPEOF(
- base_meta_data::get_result_of(
- Idx()
- )
- )
- ) type;
+ BOOST_TYPEOF_NESTED_TYPEDEF_TPL(
+ nested,
+ base_meta_data::get_result_of(Idx())
+ );
+ typedef typename nested::type fn_result_type;
+ typedef BOOST_MIRRORED_CLASS(fn_result_type) type;
                 };
 
                 template <typename T>


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