Changeset 46593

Timestamp:
Jun 21, 2008, 10:01:26 PM (14 years ago)
Author:
Daniel James
Message:

Merge in changes from trunk, dealing with some of the errors in the regression
tests.

Merged revisions 46469-46592 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........

r46579 | danieljames | 2008-06-21 16:32:11 +0100 (Sat, 21 Jun 2008) | 10 lines


Define unordered containers' friend functions outside of the class.


On some compilers, friend functions are being instantiated when the main class
is explicitly instantiated. This is slightly problematic because the equality
functions (which are an extension) put extra requirements on the types used. So
I'm going to try defining the functions outside of the class, in the hope that
they won't get instantiated. If someone wants non-member functions to be
instantiated, I think it's reasonable to expect them to explicitly instantiate
them, especially as compilers don't seem to be consistent about this.

........

r46587 | danieljames | 2008-06-21 20:58:39 +0100 (Sat, 21 Jun 2008) | 8 lines


Get the test to pass when pair's default constructor creates two instances of
the member classes.


With some standard libraries I was getting two copies of the object after
creating a default pair, probably because it was creating an instance for its
default parameter. So only test after creating the pair object - since it isn't
our concern how many instances that creates.

........

r46588 | danieljames | 2008-06-21 21:11:26 +0100 (Sat, 21 Jun 2008) | 1 line


Markup an expected failure for unordered.

........

(No files)

Note: See TracChangeset for help on using the changeset viewer.