Boost C++ Libraries: Ticket #6031: bimap views don't contain "key_type" and "mapped_type" typedefs. https://svn.boost.org/trac10/ticket/6031 <p> The bimap views, such as "set_of" and "unordered_set_of" contain the "value_type" typedef for the pair type they store, but don't contain the "key_type" and "mapped_type" typedefs. These typedefs are present in all the standard mapping data structures such as std::map and boost::unordered_map. Any code that expects these typedefs to be present will work correctly when used with standard map types, but will fail when they are used with the left or right view of a bimap. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6031 Trac 1.4.3 Matias Capeletto Thu, 24 May 2012 15:16:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6031#comment:1 https://svn.boost.org/trac10/ticket/6031#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</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/78583" title="[bimap] Add key_type and mapped_type (leaving data_type for backward ...">[78583]</a>) [bimap] Add key_type and mapped_type (leaving data_type for backward compatibility) typedefs to map views (Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6031" title="#6031: Bugs: bimap views don't contain &#34;key_type&#34; and &#34;mapped_type&#34; typedefs. (closed: fixed)">#6031</a>) </p> Ticket Matias Capeletto Tue, 29 May 2012 11:20:14 GMT <link>https://svn.boost.org/trac10/ticket/6031#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6031#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78743" title="[bimap] Merge to release (fix #6031)">[78743]</a>) [bimap] Merge to release (fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6031" title="#6031: Bugs: bimap views don't contain &#34;key_type&#34; and &#34;mapped_type&#34; typedefs. (closed: fixed)">#6031</a>) </p> </description> <category>Ticket</category> </item> </channel> </rss>