An alignment policy that carries a runtime alignment value.

Synopsis

Declared in <folly/memory/Allocator.h>

class DefaultAlign;

Description

Provides the alignment for AlignedSysAllocator, chosen at run time.

Member Functions

Name

Description

DefaultAlign [constructor]

Constructs the policy with a runtime alignment.

operator()

Returns the configured alignment.

Friends

Name

Description

folly::operator!=

Compares two policies for inequality.

folly::operator==

Compares two policies for equality.

Created with MrDocs