mirror of
https://github.com/boostorg/boost.git
synced 2025-04-06 22:14:59 +00:00
Merge from trunk. Fix some inspect errors, try to avoid instantiating the
equality operators when not required, and some bookkeeping. ................ r42539 | danieljames | 2008-01-06 17:48:11 +0000 (Sun, 06 Jan 2008) | 2 lines Add the unordered library to the maintainers list. ................ 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. ................ r46594 | danieljames | 2008-06-21 23:02:15 +0100 (Sat, 21 Jun 2008) | 19 lines Merge inspect fixes for the unordered library. Merged revisions 46470-46592 via svnmerge from https://svn.boost.org/svn/boost/branches/unordered/trunk ................ r46589 | danieljames | 2008-06-21 21:37:42 +0100 (Sat, 21 Jun 2008) | 2 lines Fix some inspect errors (tabs and missing copyright/license). ................ r46591 | danieljames | 2008-06-21 21:47:51 +0100 (Sat, 21 Jun 2008) | 1 line Move memory.hpp into the helpers subdirectory. ................ r46592 | danieljames | 2008-06-21 22:08:53 +0100 (Sat, 21 Jun 2008) | 1 line Prevent inspect errors for unnamed namespaces in some of the test header files. ................ ................ r46607 | danieljames | 2008-06-22 14:54:45 +0100 (Sun, 22 Jun 2008) | 9 lines Extract the hash and equality functions from hash_table_data_*. As these are extensions and add extra requirements to the container elements, they shouldn't be part of hash_table_data_* so that they won't get instantiated if an unordered container is explicitly instantiated. Merged revisions 46594-46604 via svnmerge from https://svn.boost.org/svn/boost/branches/unordered/trunk ................ r46608 | danieljames | 2008-06-22 16:00:02 +0100 (Sun, 22 Jun 2008) | 5 lines Remove the svnmerge integration information for the unordered branch. Now that the unordered library is moving towards release, the main development version is in trunk. New features will be developed on a new branch. ................ [SVN r46629]
This commit is contained in:
parent
1d8dee5a91
commit
71b33e7350
3 changed files with 27 additions and 1 deletions
|
@ -67,6 +67,7 @@ tuple Jaakko Jarvi <jarvi -at- cs.tamu.edu>
|
|||
type_traits John Maddock <john -at- johnmaddock.co.uk>
|
||||
typeof Arkadiy Vertleyb <vertleyb -at- hotmail.com>, Peder Holt <peder.holt -at- gmail.com>
|
||||
units Matthias Schabel <boost -at- schabel-family.org>, Steven Watanabe <steven -at- providere-consulting.com>
|
||||
unordered Daniel James <daniel_james -at- fmail.co.uk>
|
||||
utility
|
||||
utility/enable_if Jaakko Jarvi <jarvi -at- cs.tamu.edu>, Jeremiah Willcock <jewillco -at- osl.iu.edu>
|
||||
variant Eric Friedman <ericbrandon -at- gmail.com>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c8d0cb88add8f52fcc5b24f2d519459754135687
|
||||
Subproject commit 4f27a146ef65271fb50cb19d3b0f64277f3709a9
|
|
@ -5499,6 +5499,31 @@ choosing instead to bind them to the private (and unimplemented) copy constructo
|
|||
</mark-expected-failures>
|
||||
</library>
|
||||
|
||||
<!-- unordered -->
|
||||
<library name="unordered">
|
||||
<mark-expected-failures>
|
||||
<test name="move_tests"/>
|
||||
<toolset name="msvc-*"/>
|
||||
<toolset name="intel-win-10.1"/>
|
||||
<toolset name="borland-*"/>
|
||||
<toolset name="sun-*"/>
|
||||
<toolset name="hp_css-*"/>
|
||||
<toolset name="intel-linux-8*"/>
|
||||
<toolset name="intel-linux-9.0*"/>
|
||||
<toolset name="acc-pa_risc"/>
|
||||
<note author="Daniel James">
|
||||
This tests whether the container is successfully moved under
|
||||
different circumstances, and fails if it is copied. Typically if
|
||||
this one fails, it just means that return value optimization was
|
||||
not applied. It might be possible to change the test to make it for
|
||||
the compiler to apply ADL (by not having non-const reference
|
||||
parameters for the function which returns the container). So this
|
||||
is an acceptable failure.
|
||||
</note>
|
||||
</mark-expected-failures>
|
||||
</library>
|
||||
|
||||
|
||||
<!-- utility/enable_if -->
|
||||
<library name="utility/enable_if">
|
||||
<mark-unusable>
|
||||
|
|
Loading…
Add table
Reference in a new issue