Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-08-16 09:29:30

Bugs item #1260961, was opened at 2005-08-16 20:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: serialization
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Serge Sivkov (s-sivkov)
Assigned to: Robert Ramey (ramey)
Summary: VC7.1 operator << doesn't work for non-const objects

Initial Comment:
The manual says operators & and << are equals. In fact,
operator << doesn't work for non-const objects, but
operator & works.
Yere is simple example:
if i change string
const gps_position g(35, 59, 24.567f);
gps_position g(35, 59, 24.567f);
(function main() in demo.cpp)
then i will see compilation error:

error C2027: use of undefined type
but for operator & (i.e. from
    oa << g;
    oa & g;
all works perfectly.
You can respond by visiting:
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
Boost-bugs mailing list

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