Boost logo

Glas :

Re: [glas] MTL3 design ? [was MTL project site is up]

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-02-03 13:44:00

On Thursday 03 February 2005 16:56, David Abrahams wrote:

> > There are different ways to solve such problems:
> > 1) assert after the assignment to check whether the size has changed
> ? You should always detect and report errors at the earliest possible
> moment. That means immediately upon entering the assignment.

That is precisely the argument for having an assignment that preserves the
size. I hoped this was clear.