|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64371 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2010-07-26 16:04:17
Author: eric_niebler
Date: 2010-07-26 16:04:15 EDT (Mon, 26 Jul 2010)
New Revision: 64371
URL: http://svn.boost.org/trac/boost/changeset/64371
Log:
make proto work on msvc with /clr option
Text files modified:
trunk/boost/proto/literal.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/proto/literal.hpp
==============================================================================
--- trunk/boost/proto/literal.hpp (original)
+++ trunk/boost/proto/literal.hpp 2010-07-26 16:04:15 EDT (Mon, 26 Jul 2010)
@@ -39,6 +39,7 @@
private:
typedef basic_expr<tag::terminal, term<T>, 0> terminal_type;
typedef extends<terminal_type, literal<T, Domain>, Domain> base_type;
+ typedef literal<T, Domain> literal_t;
public:
typedef typename detail::term_traits<T>::value_type value_type;
@@ -64,7 +65,7 @@
: base_type(terminal_type::make(u.get()))
{}
- BOOST_PROTO_EXTENDS_USING_ASSIGN(literal)
+ BOOST_PROTO_EXTENDS_USING_ASSIGN(literal_t)
reference get()
{
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