Re: [Boost-bugs] [Boost C++ Libraries] #9803: Boost Spirit debugging complains about missing << operator if rule attributes are defined in a different namespace

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9803: Boost Spirit debugging complains about missing << operator if rule attributes are defined in a different namespace
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-24 22:56:34


#9803: Boost Spirit debugging complains about missing << operator if rule
attributes are defined in a different namespace
-------------------------------+----------------------------
  Reporter: barade.barade@… | Owner: Joel de Guzman
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: spirit
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by Nikita Kniazev <nok.raven@…>):

 You must place your `operator <<` in a namespace where your class is
 defined, otherwise ADL will not find it.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/9803#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-12-24 23:03:32 UTC