aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2019-12-29 00:56:23 +0100
committerFelix Morgner <felix.morgner@gmail.com>2019-12-29 00:56:23 +0100
commit514d454a39321123847906f923655abab05c34f4 (patch)
tree17a99d65b5ae7f9eabb3af905ef8a21742d2861f
parentea7281aa5076c13f29cc76a565d95b2a339379d0 (diff)
downloadnewtype-514d454a39321123847906f923655abab05c34f4.tar.xz
newtype-514d454a39321123847906f923655abab05c34f4.zip
doc: add missing new_type constructors
-rw-r--r--doc/src/index.rst4
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>);