|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-19 18:58:13
"Robert Ramey" <ramey_at_[hidden]> writes:
> I'm addressing some test failures in the serialization library and need some
> help from someone who is knowledgable regarding the implementation of the
> standard library as it is delivered with the GCC compiler.
>
> http://tinyurl.com/s4ohn Shows the error message which is provoked by the
> following test code:
>
> // test array of objects
> BOOST_STD_EXTENSION_NAMESPACE::hash_set<A> ahash_set;
> ...
> std::vector<A> tvec, tvec1;
> std::copy(ahash_set.begin(), ahash_set.end(), std::back_inserter(tvec)); //
> error starts here
> std::sort(tvec.begin(), tvec.end());
>
> a) I can't see anything wrong with this.
> b) No other compilers complain
> c) I can't follow the error message
>
> So if anyone has some insight here, I'd be glad to hear it.
I suggest you post the error message. But first pass it through
stlfilt (http://www.bdsoft.com) with line wrapping and indenting
enabled, and take a look yourself to see if it makes any more sense.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk