mirror of git://gcc.gnu.org/git/gcc.git
55043.cc (equal): Add missing & on rhs parameter.
2013-11-16 François Dumont <fdumont@gcc.gnu.org> * testsuite/23_containers/unordered_set/55043.cc (equal): Add missing & on rhs parameter. From-SVN: r204906
This commit is contained in:
parent
25e6253e21
commit
6c21c6d0f5
|
|
@ -1,3 +1,8 @@
|
||||||
|
2013-11-16 François Dumont <fdumont@gcc.gnu.org>
|
||||||
|
|
||||||
|
* testsuite/23_containers/unordered_set/55043.cc (equal): Add
|
||||||
|
missing & on rhs parameter.
|
||||||
|
|
||||||
2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
|
2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
* include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
|
* include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,18 @@ struct MoveOnly
|
||||||
MoveOnly(MoveOnly&&) = default;
|
MoveOnly(MoveOnly&&) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct equal {
|
struct equal
|
||||||
bool operator()(const MoveOnly&, const MoveOnly) const { return true; }
|
{
|
||||||
|
bool
|
||||||
|
operator()(const MoveOnly&, const MoveOnly&) const
|
||||||
|
{ return true; }
|
||||||
};
|
};
|
||||||
struct hash {
|
|
||||||
std::size_t operator()(const MoveOnly&) const { return 0; }
|
struct hash
|
||||||
|
{
|
||||||
|
std::size_t
|
||||||
|
operator()(const MoveOnly&) const
|
||||||
|
{ return 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename Alloc>
|
template<typename Alloc>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue