result_of uses decltype on compilers that implement N3276

[SVN r77905]
This commit is contained in:
Eric Niebler
2012-04-11 00:28:33 +00:00
parent df9315101e
commit 4111de6f68
4 changed files with 59 additions and 24 deletions
+5 -1
View File
@@ -5,7 +5,11 @@
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_RESULT_OF_USE_DECLTYPE
#include <boost/config.hpp>
#ifndef BOOST_NO_DECLTYPE
# define BOOST_RESULT_OF_USE_DECLTYPE
#endif
// For more information, see http://www.boost.org/libs/utility
#include <boost/utility/result_of.hpp>