Boost logo

Boost :

Subject: [boost] [spirit][lex] remove_referece necessary for lex::less
From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2013-05-11 03:04:25


Hi,

Can I apply that patch?

Index: boost/spirit/home/lex/lexer/support_functions.hpp
===================================================================
--- boost/spirit/home/lex/lexer/support_functions.hpp (revision 84231)
+++ boost/spirit/home/lex/lexer/support_functions.hpp (working copy)
@@ -47,11 +47,13 @@
         template <typename Env>
         struct result
         {
- typedef typename
- remove_const<
- typename mpl::at_c<typename Env::args_type, 4>::type
- >::type
- context_type;
+ typedef
+ typename remove_reference<
+ typename remove_const<
+ typename mpl::at_c<typename Env::args_type,
4>::type
+ >::type
+ >::type
+ context_type;
             typedef typename context_type::base_iterator_type type;
         };


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk