[spirit][lex] remove_referece necessary for lex::less
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
Made a ticket for it.. see: https://svn.boost.org/trac/boost/ticket/8563
2013/5/11 Andreas Pokorny
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
::type - >::type - context_type; + typedef + typename remove_reference< + typename remove_const< + typename mpl::at_c ::type + >::type + >::type + context_type; typedef typename context_type::base_iterator_type type; };
Andreas,
Made a ticket for it.. see: https://svn.boost.org/trac/boost/ticket/8563
Please add a test to the ticket. I will apply the patch once that's done. Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu
2013/5/11 Andreas Pokorny
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
::type - >::type - context_type; + typedef + typename remove_reference< + typename remove_const< + typename mpl::at_c ::type + >::type + >::type + context_type; typedef typename context_type::base_iterator_type type; }; _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
I applied the patch to trunk and release. Thanks! Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu
-----Original Message----- From: Hartmut Kaiser [mailto:hartmut.kaiser@gmail.com] Sent: Sunday, May 12, 2013 9:48 AM To: 'boost@lists.boost.org' Subject: RE: [boost] [spirit][lex] remove_referece necessary for lex::less
Andreas,
Made a ticket for it.. see: https://svn.boost.org/trac/boost/ticket/8563
Please add a test to the ticket. I will apply the patch once that's done.
Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu
2013/5/11 Andreas Pokorny
Hi,
Can I apply that patch?
Index: boost/spirit/home/lex/lexer/support_functions.hpp =================================================================== --- boost/spirit/home/lex/lexer/support_functions.hpp (revision
+++ 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
::type - >::type - context_type; + typedef + typename remove_reference< + typename remove_const< + typename mpl::at_c ::type + >::type + >::type + context_type; typedef typename context_type::base_iterator_type type; }; _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Andreas Pokorny
-
Hartmut Kaiser