Boost C++ Libraries: Ticket #637: Adjusts mpl::pair concept to be compatible with STL pairs https://svn.boost.org/trac10/ticket/637 <pre class="wiki">WHAT: ===== The patch changes the MPL pair concept, so STL pairs and Fusion pairs also work as MPL pairs. The old type members have been added after testing for backward compatiblity with 3rd party code. STL pair: first (value) second (value) first_type (type) second_type (type) Fusion pair: second (value) first_type (type) second_type (type) MPL pair (CVS): first (type) second (type) MPL pair (after applying this patch): first_type (type) second_type (type) AFFECTED LIBRARIES: =================== - MPL (numerous files, code and documentation) - Variant (2 files) - Parameter (1 file) FILES: ====== - boost/mpl.patch - boost/parameter.patch - boost/variant.patch - libs/mpl.patch TESTED WITH: ============ - MSVC 8.0 - MSVC 7.1 - GCC 3.4.2 </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/637 Trac 1.4.3 Daryle Walker Fri, 03 Aug 2007 12:08:23 GMT component changed; severity set https://svn.boost.org/trac10/ticket/637#comment:1 https://svn.boost.org/trac10/ticket/637#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">mpl</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Aleksey Gurtovoy Thu, 04 Jun 2009 04:32:06 GMT <link>https://svn.boost.org/trac10/ticket/637#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/637#comment:2</guid> <description> <p> I guess I don't fully understand the motivation for this one. MPL pair is mostly an auxiliary structure of secondary importance; the only place is the library that dictates usage of the MPL pair protocol is mpl::map. Other than that, using MPL to manipulate STL pairs and/or Fusion pairs should not be any harder than using it to manipulate MPL pairs. </p> <p> Could you elaborate on the specific use case that triggered this patch? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 11 Jun 2010 23:23:15 GMT</pubDate> <title>status, resolution changed https://svn.boost.org/trac10/ticket/637#comment:3 https://svn.boost.org/trac10/ticket/637#comment:3 <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-old">None</span> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Without further information from the reporter, there's nothing doing. </p> Ticket