feat Promise add constexpr for CTR
This commit is contained in:
parent
bfa136e8d0
commit
a8cab88d83
@ -18,9 +18,9 @@ class Promise final {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
using Value = T;
|
using Value = T;
|
||||||
Promise() noexcept = default;
|
constexpr Promise() noexcept = default;
|
||||||
Promise(const Promise &) noexcept = default;
|
constexpr Promise(const Promise &) noexcept = default;
|
||||||
Promise(Promise &&) noexcept = default;
|
constexpr Promise(Promise &&) noexcept = default;
|
||||||
Promise &operator=(const Promise &) noexcept = default;
|
Promise &operator=(const Promise &) noexcept = default;
|
||||||
Promise &operator=(Promise &&) noexcept = default;
|
Promise &operator=(Promise &&) noexcept = default;
|
||||||
~Promise() = default;
|
~Promise() = default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user