Constructors

Synopses

Declared in <folly/memory/Allocator.h>

Constructs a default SysAllocator.

constexpr
SysAllocator() = default;

Copy‐constructs a SysAllocator.

constexpr
SysAllocator(SysAllocator const& other) = default;

Constructs a SysAllocator from an allocator for a different type.

template<typename U>
requires !std::is_same<U, T>::value
constexpr
SysAllocator(SysAllocator<U> const& other) noexcept;

Template Parameters

Name

Description

U

The value type of the source allocator.

Parameters

Name

Description

other

The source allocator to copy from.

Created with MrDocs