Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2004-03-24 11:25:25


Angus Leeming wrote:
> specs.truncate_ is being initialised incorrectly in the format_item
> constructor because it is an int (sizeof(4)) whilst std::streamsize
> has sizeof(8) on the Alpha.

Sorry, I should have added that changing format_item::truncate_ to

        std::streamsize truncate_; //- is set for directives like %.5s that ask truncation

results in the test code running correctly. I do not know what
other implications this has.

Regards,
Angus


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk