Skip to content

Commit

Permalink
Do not include boost/bind/apply.hpp under C++03
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jan 15, 2024
1 parent 5c34c54 commit e962a13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/optional_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@

#define BOOST_ENABLE_ASSERT_HANDLER

#include "boost/config.hpp"
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
#include "boost/bind/apply.hpp" // Included just to test proper interaction with boost::apply<> as reported by Daniel Wallin
#endif
#include "boost/mpl/bool.hpp"
#include "boost/mpl/bool_fwd.hpp" // For mpl::true_ and mpl::false_

Expand Down

0 comments on commit e962a13

Please sign in to comment.