Boost logo

Boost Users :

From: Tom Quarendon (tomq_at_[hidden])
Date: 2004-09-07 03:43:19


I have trouble compiling code that makes use of the boost::format library.
In particular I get compile errors from basic_format::operator= method (line
90 format_implementation.hpp). If I change the body to look like

if(this == &x)
        return *this;

basic_format<Ch, Tr> x1(x); // These 2 lines used
x1.swap(*this); // to be 1

return *this;

It compiles.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.737 / Virus Database: 491 - Release Date: 11/08/2004

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net