diff --git a/doc/empty_value.qbk b/doc/empty_value.qbk index f693aeb..ef82f20 100644 --- a/doc/empty_value.qbk +++ b/doc/empty_value.qbk @@ -90,11 +90,11 @@ public: empty_value() = default; template - empty_value(empty_init_t, Args&&... args); + constepxr empty_value(empty_init_t, Args&&... args); - const T& get() const noexcept; + constepxr const T& get() const noexcept; - T& get() noexcept; + constepxr T& get() noexcept; }; inline constexpr empty_init_t empty_init{ }; @@ -121,8 +121,9 @@ inline constexpr empty_init_t empty_init{ }; [section Constructors] [variablelist -[[`empty_value() = default;`][Default initialize the value]] -[[`template empty_value(empty_init_t, Args&&... args);`] +[[`constepxr empty_value() = default;`][Default initialize the value]] +[[`template +constepxr empty_value(empty_init_t, Args&&... args);`] [Initialize the value with `std::forward(args)...`]]] [endsect] @@ -130,8 +131,8 @@ inline constexpr empty_init_t empty_init{ }; [section Member functions] [variablelist -[[`const T& get() const noexcept;`][Returns the value]] -[[`T& get() noexcept;`][Returns the value]]] +[[`constepxr const T& get() const noexcept;`][Returns the value]] +[[`constepxr T& get() noexcept;`][Returns the value]]] [endsect]