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

This is the documentation for a snapshot of the master branch, built from commit c6a8213e9b.
PrevUpHomeNext
value::value (20 of 35 overloads)

Construct a double.

Synopsis
value(
    double d,
    storage_ptr sp = {});
Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

d

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