Boost C++ Libraries: Ticket #11995: Deduce key type from return type of key extractor https://svn.boost.org/trac10/ticket/11995 <p> The "key extractor" passed to <code>key_of_value</code> must specify the key type as a nested <code>type</code> definition and the <code>operator()</code> that extracts the key of a <code>value_type</code>. </p> <p> I think the nested <code>type</code> definition is redundant and could be determined from the returned type of the key extraction <code>operator()</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11995 Trac 1.4.3 Ion Gaztañaga Fri, 26 Feb 2016 18:47:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11995#comment:1 https://svn.boost.org/trac10/ticket/11995#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">duplicate</span> </li> </ul> <p> Duplicate of Trac 11996 </p> Ticket