0ea2aa7ca2
The macro `BOOST_NO_AUTO_PTR` is defined on systems where both `auto_ptr` and `unique_ptr` are available (and `auto_ptr` usage produces a deprecation warning). By using `BOOST_NO_CXX11_SMART_PTR` we will favor `unique_ptr` over `auto_ptr`. ``` slex/lexer.hpp:2423:13: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] ``` |
||
---|---|---|
.. | ||
cpp_slex_lexer.hpp | ||
lexer.hpp |