Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-08 04:13:59


Bertolt Mildner wrote:

>> Yes, formatting is smashed anyway, so ignoring the tabs on the seconds
> line
>> is a viable option.
>
> OK, so they are ignored, *but* i still think that asserting on it is vital
> because in the other case (= fixed length set by user or even worth, line
> length defaults to m_default_line_length cause user did *not* set a line
> length at all) it would mean that the formatting simply silently fails.
> Not very nice form a users point of view!

Agreed. Then, a comment that assert might fail due to both user error and
environment is needed, but otherwise assert is fine.

- Volodya


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