Re: [Boost-bugs] [Boost C++ Libraries] #7070: bcp misses some cases and does not create namespace aliases for non-boost namespaces

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7070: bcp misses some cases and does not create namespace aliases for non-boost namespaces
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-05 10:30:26


#7070: bcp misses some cases and does not create namespace aliases for non-boost
namespaces
------------------------------------------------+---------------------------
  Reporter: Mike Liang <mtliang@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: bcp
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+---------------------------

Comment (by lukester_null@…):

 I hope I'm not thread jacking but I'd just like to say this is great -
 fixes something I was just about to create a ticket for. It was
 converting:

 {{{namespace boost{ namespace phoenix}}}

 ->

 {{{namespace MyBoost { namespace MyBoostphoenix}}}

 But missing things like:

 {{{
 BOOST_PHOENIX_DEFINE_EXPRESSION(
     (boost)(phoenix)(do_while)
 }}}
 which ended up as
 {{{
     (MyBoost)(phoenix)(do_while)
 }}}

 which your patch makes {{{(MyBoost)(MyBoostphoenix)(do_while)}}}

 I'm not sure I understand why it prefixes the new top-level namespace on
 the phoenix namespace at all, though I guess it's intentional?

 Regards

 Luke.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7070#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-02-16 18:50:10 UTC