Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
value::value (9 of 35 overloads)

Construct a bool.

Synopsis
value(
    bool b,
    storage_ptr sp = {});
Description

This constructs a bool value using the specified memory resource.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

b

The initial value.

sp

A pointer to the boost::container::pmr::memory_resource to use. The container will acquire shared ownership of the memory resource.


PrevUpHomeNext