27template <
typename InputIt,
typename OutputIt>
28constexpr OutputIt
copy(InputIt first, InputIt last, OutputIt d_first)
55template <
class InputIt,
class UnaryFunc>
56constexpr UnaryFunc
for_each(InputIt first, InputIt last, UnaryFunc f)
82template <
class InputIt,
class T>
83constexpr T
accumulate(InputIt first, InputIt last, T init)
noexcept
99template <
class T>
void swap(T &a, T &b)
noexcept
constexpr T accumulate(InputIt first, InputIt last, T init) noexcept
Applies the given function f to the result of dereferencing every element in the range [first,...
constexpr UnaryFunc for_each(InputIt first, InputIt last, UnaryFunc f)
Applies the given function f to the result of dereferencing every element in the range [first,...
constexpr OutputIt copy(InputIt first, InputIt last, OutputIt d_first)
Copies the elements in the range [first, last) to the range beginning at d_first.
constexpr std::remove_reference_t< T > && move(T &&t) noexcept
Move a value from one location to another.
void swap(T &a, T &b) noexcept
Exchanges the values of a and b.