|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-04-20 23:27:56
on 4/20/00 9:23 PM, Howard Hinnant at hinnant_at_[hidden] wrote:
> Admittedly "constant complexity" does not necessarily equal "efficient",
> but it is close enough for my money.
Okay, I buy that.
So, to be accurate:
swap is only guaranteed to be non-throwing and efficient when used on the
standard containers (and standard container iterators, since no iterator
operation is allowed to throw).
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk