diff options
Diffstat (limited to 'boost/algorithm/cxx11/is_partitioned.hpp')
-rw-r--r-- | boost/algorithm/cxx11/is_partitioned.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/algorithm/cxx11/is_partitioned.hpp b/boost/algorithm/cxx11/is_partitioned.hpp index c0076b932b..fb2c5a17a5 100644 --- a/boost/algorithm/cxx11/is_partitioned.hpp +++ b/boost/algorithm/cxx11/is_partitioned.hpp @@ -26,7 +26,7 @@ namespace boost { namespace algorithm { /// \param p The predicate to test the values with /// \note This function is part of the C++2011 standard library. template <typename InputIterator, typename UnaryPredicate> -bool is_partitioned ( InputIterator first, InputIterator last, UnaryPredicate p ) +BOOST_CXX14_CONSTEXPR bool is_partitioned ( InputIterator first, InputIterator last, UnaryPredicate p ) { // Run through the part that satisfy the predicate for ( ; first != last; ++first ) @@ -47,7 +47,7 @@ bool is_partitioned ( InputIterator first, InputIterator last, UnaryPredicate p /// \param p The predicate to test the values with /// template <typename Range, typename UnaryPredicate> -bool is_partitioned ( const Range &r, UnaryPredicate p ) +BOOST_CXX14_CONSTEXPR bool is_partitioned ( const Range &r, UnaryPredicate p ) { return boost::algorithm::is_partitioned (boost::begin(r), boost::end(r), p); } |