Copy constructs the value from rhs
if it has one.
Synopsis
Declared in <beman/optional/optional.hpp>
constexpr
optional(optional const& rhs)
requires std::is_copy_constructible_v<T> && (!std::is_trivially_copy_constructible_v<T>);
Parameters
Name |
Description |
rhs |
The object to copy construct from |
Created with MrDocs