
7 Oct
2011
7 Oct
'11
8:44 p.m.
El 06/10/2011 19:15, Dave Abrahams escribió:
on Thu Oct 06 2011, Ion Gaztañaga<igaztanaga-AT-gmail.com> wrote:
//!<b>Throws</b>: std::runtime_error if this' allocator and x's allocator //! are not equal.
Are you sure you want to make this defined behavior?
I was just reproducing existing practice of some implementations (*), but I agree that we could just require it as a precondition and use assert. (*) http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1599.html