[Boost-bugs] [ boost-Bugs-1059936 ] spirit insert_key_actor.hpp

Bugs item #1059936, was opened at 2004-11-04 02:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1059936&group_id=7586 Category: functional Group: None Status: Open Resolution: None Priority: 5 Submitted By: Sandford (sandford) Assigned to: Mark Rodgers (mark_rodgers) Summary: spirit insert_key_actor.hpp Initial Comment: 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<,>::value_type and thus can not be assigned to. Specific errors are c2078, c2440, c2664. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1059936&group_id=7586 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net