New utility classes, containers, C++14 compatibility, and fixes:

* Add std::equal_to <void> (since C++14)
* Add heterogeneous std::equal (since C++14)
* Add maybe_const
* Add empty_base_optimization
* Add is_constructible specialization for pair, tuple
* Add aged associative containers:
  - aged_set, aged_map, aged_multiset, aged_multimap
  - aged_unordered_set, aged_unordered_map,
  - aged_unordered_multiset, aged_unordered_multimap
* Fix auto keyword pass by reference
* Fix basic_seconds_clock warning and project file
This commit is contained in:
Vinnie Falco
2014-02-16 19:43:16 -08:00
parent 1374b37882
commit bf085f0ef3
28 changed files with 7072 additions and 12 deletions

View File

@@ -462,7 +462,7 @@ public:
*/
void close_all (bool graceful)
{
for (auto entry : m_peers)
for (auto const& entry : m_peers)
{
PeerImp::ptr const peer (entry.second.lock());
assert (peer != nullptr);