diff --git a/include/boost/container/experimental/segmented_is_partitioned.hpp b/include/boost/container/experimental/segmented_is_partitioned.hpp index 698412a..6e12e2c 100644 --- a/include/boost/container/experimental/segmented_is_partitioned.hpp +++ b/include/boost/container/experimental/segmented_is_partitioned.hpp @@ -20,16 +20,13 @@ #include #include -#include + #include #include namespace boost { namespace container { -//! Note: This version is suboptimal only supports bidirectional iterators, -//! as it relies on stable_partition_shift. -//! //! Returns \c true if all elements satisfying \c pred appear before //! all elements that do not, i.e. the range [first, last) is //! partitioned with respect to \c pred. @@ -37,8 +34,8 @@ namespace container { template inline bool segmented_is_partitioned(InpIter first, Sent last, Pred pred) { - first = segmented_find_if_not(first, last, pred); - return segmented_none_of(first, last, pred); + first = (segmented_find_if_not)(first, last, pred); + return (segmented_none_of)(first, last, pred); } } // namespace container