Boost C++ Libraries: Ticket #314: spirit insert_key_actor.hpp https://svn.boost.org/trac10/ticket/314 <pre class="wiki">Compile error in: insert_key_actor.hpp with MSVC 7.1 Here's the code change that allows it to compile and seems logical. Still testing for full functionality and just starting to use boost. // key_type key(first_,last_); // value_type key_value(key, value_); // ref_.insert( key_value ); ref_.insert( value_ ); Also noticed a flaw in the demo code for inserting into a map, as the key data type is defined as const in map&lt;,&gt;::value_type and thus can not be assigned to. Specific errors are c2078, c2440, c2664. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/314 Trac 1.4.3 Daryle Walker Fri, 03 Aug 2007 11:51:21 GMT component changed; severity set https://svn.boost.org/trac10/ticket/314#comment:1 https://svn.boost.org/trac10/ticket/314#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Joel de Guzman Wed, 21 Nov 2007 00:21:34 GMT status, resolution changed https://svn.boost.org/trac10/ticket/314#comment:2 https://svn.boost.org/trac10/ticket/314#comment:2 <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> Not enough info context to fix this. Please post a minimal test code that exhibits this problem to: <a class="ext-link" href="https://lists.sourceforge.net/lists/listinfo/spirit-general"><span class="icon">​</span>https://lists.sourceforge.net/lists/listinfo/spirit-general</a> </p> Ticket