Commit a8cab88d authored by tqcq's avatar tqcq
Browse files

feat Promise add constexpr for CTR

parent bfa136e8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -18,9 +18,9 @@ class Promise final {

public:
    using Value                                  = T;
    Promise() noexcept                           = default;
    Promise(const Promise &) noexcept            = default;
    Promise(Promise &&) noexcept                 = default;
    constexpr Promise() noexcept                 = default;
    constexpr Promise(const Promise &) noexcept  = default;
    constexpr Promise(Promise &&) noexcept       = default;
    Promise &operator=(const Promise &) noexcept = default;
    Promise &operator=(Promise &&) noexcept      = default;
    ~Promise()                                   = default;