folly::reentrant_allocator_options::block_size_lg

block_size_lg overloads

Synopses

Declared in <folly/memory/ReentrantAllocator.h>

Returns the log2 of the block size.

std::size_t
block_size_lg() const noexcept;
» more...

Sets the log2 of the block size.

reentrant_allocator_options&
block_size_lg(std::size_t const value) noexcept;
» more...

Return Value

  • The log2 of the block size.
  • A reference to these options.

Parameters

NameDescription
valueThe new log2 of the block size.