Boost logo

Boost Users :

Subject: Re: [Boost-users] A forward iterator need not be default-constructible
From: Andrew Sutton (asutton.list_at_[hidden])
Date: 2011-09-30 12:45:23

> If your basic expectations do not take the standard into account then your
> expectations may lead you to Undefined-Behavior-Land.

Again, the standard is too strict with this limitation; it can be
relaxed. Objects of regular types should always be equal to themselves
even when they are uninitialized or have singular value.

> Optimizations are clever, and used to be viewed with suspicion.

I don't think that this is an unreasonable position.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at