folly::fbstring_detail::podMove

Moves a range of POD elements to a possibly overlapping destination.

Synopsis

Declared in <folly/FBString.h>

template<class Pod>
void
podMove(
    Pod const* b,
    Pod const* e,
    Pod* d);

Description

Lightly structured memmove, simplifies copying PODs and introduces some asserts.

Parameters

NameDescription
bPointer to the first element to move.
ePointer past the last element to move.
dPointer to the start of the destination range.