[Boost-bugs] [ boost-Bugs-1260961 ] VC7.1 operator << doesn't work for non-const objects

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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1260961&group_id=7586 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); to gps_position g(35, 59, 24.567f); (function main() in demo.cpp) then i will see compilation error: --- c:\Boost\include\boost-1_33\boost\archive\detail\oserializer.hpp(566): error C2027: use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>' with [ x=false ] --- but for operator & (i.e. from oa << g; to oa & g; ) all works perfectly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1260961&group_id=7586 ------------------------------------------------------- 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 * http://www.sqe.com/bsce5sf _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net