1 | In file included from test_adl.cc:1:
|
---|
2 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/tuple:362:25: error: call to 'swap' is ambiguous
|
---|
3 | noexcept(noexcept(swap(std::declval<_Head&>(),
|
---|
4 | ^~~~
|
---|
5 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/tuple:492:25: note: in instantiation of exception specification for '_M_swap' requested here
|
---|
6 | noexcept(noexcept(__in._M_swap(__in)))
|
---|
7 | ^
|
---|
8 | test_adl.cc:12:5: note: in instantiation of exception specification for 'swap' requested here
|
---|
9 | x.swap(y);
|
---|
10 | ^
|
---|
11 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/move.h:167:5: note: candidate function [with _Tp = boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator>]
|
---|
12 | swap(_Tp& __a, _Tp& __b)
|
---|
13 | ^
|
---|
14 | /usr/include/boost/icl/concept/container.hpp:62:1: note: candidate function [with Type = boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator>]
|
---|
15 | swap(Type& left, Type& right)
|
---|
16 | ^
|
---|
17 | In file included from test_adl.cc:1:
|
---|
18 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/tuple:367:2: error: call to 'swap' is ambiguous
|
---|
19 | swap(_M_head(*this), _M_head(__in));
|
---|
20 | ^~~~
|
---|
21 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/tuple:493:21: note: in instantiation of member function 'std::_Tuple_impl<0, boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator> >::_M_swap' requested here
|
---|
22 | { _Inherited::_M_swap(__in); }
|
---|
23 | ^
|
---|
24 | test_adl.cc:12:5: note: in instantiation of member function 'std::tuple<boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator> >::swap' requested here
|
---|
25 | x.swap(y);
|
---|
26 | ^
|
---|
27 | /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/move.h:167:5: note: candidate function [with _Tp = boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator>]
|
---|
28 | swap(_Tp& __a, _Tp& __b)
|
---|
29 | ^
|
---|
30 | /usr/include/boost/icl/concept/container.hpp:62:1: note: candidate function [with Type = boost::icl::interval_set<int, std::less, boost::icl::discrete_interval<int, less>, std::allocator>]
|
---|
31 | swap(Type& left, Type& right)
|
---|
32 | ^
|
---|
33 | 2 errors generated.
|
---|