Copyright (c) Marshall Clow 2017.
Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE10.txt or copy at http://www.boost.org/LICENSE10.txt)
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
/// \file transform_reduce.hpp
#include <functional> // for std::plus
#include <iterator> // for std::iterator_traits
+#include <boost/config.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/range/value_type.hpp>
typename std::iterator_traits<InputIterator>::value_type init = uOp(*first);
*result++ = init;
if (++first != last)
- return transform_inclusive_scan(first, last, result, bOp, uOp, init);
+ return boost::algorithm::transform_inclusive_scan
+ (first, last, result, bOp, uOp, init);
}
return result;