|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81141 - trunk/boost/test/data/monomorphic
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-01 18:50:03
Author: rogeeff
Date: 2012-11-01 18:50:02 EDT (Thu, 01 Nov 2012)
New Revision: 81141
URL: http://svn.boost.org/trac/boost/changeset/81141
Log:
no declval on MSVC
Text files modified:
trunk/boost/test/data/monomorphic/fwd.hpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/boost/test/data/monomorphic/fwd.hpp
==============================================================================
--- trunk/boost/test/data/monomorphic/fwd.hpp (original)
+++ trunk/boost/test/data/monomorphic/fwd.hpp 2012-11-01 18:50:02 EDT (Thu, 01 Nov 2012)
@@ -19,6 +19,9 @@
#include <boost/test/data/config.hpp>
#include <boost/test/data/size.hpp>
+// Boost
+#include <boost/utility/declval.hpp>
+
// STL
#include <list>
#include <vector>
@@ -140,7 +143,7 @@
template<typename DS>
struct make
{
- typedef decltype(data::make(std::declval<DS>())) type;
+ typedef decltype(data::make(boost::declval<DS>())) type;
};
} // namespace result_of
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