diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2019-12-29 00:56:23 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2019-12-29 00:56:23 +0100 |
| commit | 514d454a39321123847906f923655abab05c34f4 (patch) | |
| tree | 17a99d65b5ae7f9eabb3af905ef8a21742d2861f /doc | |
| parent | ea7281aa5076c13f29cc76a565d95b2a339379d0 (diff) | |
| download | newtype-514d454a39321123847906f923655abab05c34f4.tar.xz newtype-514d454a39321123847906f923655abab05c34f4.zip | |
doc: add missing new_type constructors
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/index.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/index.rst b/doc/src/index.rst index e0ebaad..61c7ab6 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -85,6 +85,10 @@ Synopsis constexpr explicit new_type() noexcept(std::is_nothrow_default_constructible_v<BaseType>) = /*see below*/; + constexpr explicit new_type(new_type const &) noexcept(std::is_nothrow_copy_constructible_v<BaseType>) = /*see below*/; + + constexpr explicit new_type(new_type &&) noexcept(std::is_nothrow_move_constructible_v<BaseType>) = /*see below*/; + constexpr explicit new_type(BaseType const &) noexcept(std::is_nothrow_copy_constructible_v<BaseType>); constexpr explicit new_type(BaseType &&) noexcept(std::is_nothrow_move_constructible_v<BaseType>); |
