Use of boost::adl_move_swap.

Replaced <algorithm> with <functional> where needed
Added basic equal/lexicographical compare algorithms to avoid complex <algorithm> include and ADL problems in some compilers
This commit is contained in:
Ion Gaztañaga
2014-11-26 19:32:12 +01:00
parent 55a3c8b9a5
commit adda517544
19 changed files with 161 additions and 126 deletions

View File

@@ -12,7 +12,7 @@
//[doc_unordered_set_code
#include <boost/intrusive/unordered_set.hpp>
#include <vector>
#include <algorithm>
#include <functional>
#include <boost/functional/hash.hpp>
using namespace boost::intrusive;