mirror of https://github.com/CGAL/cgal
This file specializes `std::swap` for a CGAL class. The `noexpect`
part of the signature was missing (when C++11).
```
In file included from [..]/test/Polynomial/Exponent_vector.cpp:4:
[...]/include/CGAL/Exponent_vector.h:172:6: warning: 'swap<CGAL::Exponent_vector>' is missing exception specification 'noexcept(is_nothrow_move_constructible<Exponent_vector>::value && is_nothrow_move_assignable<Exponent_vector>::value)'
void swap(CGAL::Exponent_vector& ev1, CGAL::Exponent_vector& ev2){
^
noexcept(is_nothrow_move_constructible<Exponent_vector>::value && is_nothrow_move_assignable<Exponent_vector>::value)
[..]/include/CGAL/Exponent_vector.h:172:6: note: previous declaration is here
1 warning generated.
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.14-Ic-99/Polynomial/TestReport_cgaltester_x86-64_Darwin-13.0_Apple-clang-5.0_Release-cpp11.gz
|
||
|---|---|---|
| .. | ||
| Polynomial | ||
| Test | ||
| Exponent_vector.h | ||
| Polynomial.h | ||
| Polynomial_traits_d.h | ||
| Polynomial_type_generator.h | ||
| polynomial_utils.h | ||