18 lines
366 B
C++
Executable File
18 lines
366 B
C++
Executable File
// License: Modified MIT (NON-AI)
|
|
// See the LICENSE file in the root directory for license information.
|
|
// Copyright 2026 Timothy Prepscius
|
|
|
|
#pragma once
|
|
|
|
namespace tjp {
|
|
namespace core {
|
|
|
|
template<typename T>
|
|
struct PromiseLocked;
|
|
|
|
template<typename R, typename F>
|
|
PromiseLocked<R> &promise_of_and_reset(PromiseLocked<R> &p, F &&f);
|
|
|
|
} // namespace
|
|
} // namespace
|