Boost C++ Libraries: Ticket #6905: bcp --namespace misses a boost namespace in emplace_args.hpp https://svn.boost.org/trac10/ticket/6905 <p> Using bcp to create a custom namespace doesn't convert: </p> <p> BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE(10, boost) </p> <p> Attaching a possible fix (only tried on VC++ 10 so far). </p> <p> Regards </p> <p> Luke Elliott. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6905 Trac 1.4.3 lukester_null@… Tue, 15 May 2012 21:52:13 GMT attachment set https://svn.boost.org/trac10/ticket/6905 https://svn.boost.org/trac10/ticket/6905 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">emplace_args.hpp</span> </li> </ul> <p> Possible fix. </p> Ticket Daniel James Tue, 15 May 2012 22:05:23 GMT status changed https://svn.boost.org/trac10/ticket/6905#comment:1 https://svn.boost.org/trac10/ticket/6905#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Can you post it as a diff please? </p> <p> I had a quick look and I think you're illegally concatenating <code>::</code> and <code>tuple</code>. A preprocessor concatenation has to create a single token but <code>::tuple</code> is two tokens. Visual C++ accepts things like that, but it shouldn't really. You probably don't need a concatenation at all, could just say <code>namespace_ tuple</code> and that should work. </p> <p> I'll look into this in more detail later. </p> Ticket lukester_null@… Wed, 16 May 2012 12:02:57 GMT attachment set https://svn.boost.org/trac10/ticket/6905 https://svn.boost.org/trac10/ticket/6905 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">emplace_args.diff</span> </li> </ul> <p> Possible fix as diff. </p> Ticket lukester_null@… Wed, 16 May 2012 12:03:46 GMT <link>https://svn.boost.org/trac10/ticket/6905#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6905#comment:2</guid> <description> <p> Sure - attached without ##. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Thu, 17 May 2012 06:21:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6905#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6905#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78491" title="Unordered: Fix namespaces for renaming in bcp. Refs #6905.">[78491]</a>) Unordered: Fix namespaces for renaming in bcp. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6905" title="#6905: Bugs: bcp --namespace misses a boost namespace in emplace_args.hpp (closed: fixed)">#6905</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Mon, 21 May 2012 22:08:22 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6905#comment:4 https://svn.boost.org/trac10/ticket/6905#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78534" title="Unordered: Fix bcp namespace fix. Fixes #6905.">[78534]</a>) Unordered: Fix bcp namespace fix. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6905" title="#6905: Bugs: bcp --namespace misses a boost namespace in emplace_args.hpp (closed: fixed)">#6905</a>. </p> Ticket