|
Boost-Commit : |
From: eric_at_[hidden]
Date: 2008-05-08 17:24:38
Author: eric_niebler
Date: 2008-05-08 17:24:38 EDT (Thu, 08 May 2008)
New Revision: 45229
URL: http://svn.boost.org/trac/boost/changeset/45229
Log:
is_expr<> tweak
Text files modified:
branches/proto/v4/boost/proto/traits.hpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: branches/proto/v4/boost/proto/traits.hpp
==============================================================================
--- branches/proto/v4/boost/proto/traits.hpp (original)
+++ branches/proto/v4/boost/proto/traits.hpp 2008-05-08 17:24:38 EDT (Thu, 08 May 2008)
@@ -194,6 +194,11 @@
struct is_expr<T, typename T::proto_is_expr_>
: mpl::true_
{};
+
+ template<typename T>
+ struct is_expr<T &, void>
+ : is_expr<T>
+ {};
/// \brief A metafunction that returns the tag type of a
/// Proto expression.
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