Commit 6c21c6d0 by François Dumont

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
parent 25e6253e
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>
* include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
......
......@@ -29,11 +29,18 @@ struct MoveOnly
MoveOnly(MoveOnly&&) = default;
};
struct equal {
bool operator()(const MoveOnly&, const MoveOnly) const { return true; }
struct equal
{
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment