move overloads

Synopses

Declared in <absl/utility/utility.h>

Cast a value to an rvalue reference to enable moving from it.

template<class T>
[[deprecated("Use std::move instead."), nodiscard]]
constexpr
std::remove_reference_t<T>&&
move(T&& arg) noexcept;

Move a range of elements into an output iterator.

template<
    class It,
    class OutIt>
[[deprecated("Use std::move instead.")]]
constexpr
OutIt
move(
    It&& begin,
    It&& end,
    OutIt&& output);
Warning

Deprecated: Use std::move instead.. Use of this entity is allowed but discouraged.

Return Value

  • An rvalue reference to arg.

  • An iterator past the last moved element.

Parameters

Name

Description

arg

The value to cast.

begin

The start of the input range.

end

The end of the input range.

output

The start of the destination range.

Created with MrDocs