Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-11-03 21:57:10

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:

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:

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.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at