mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
add disregard
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
This commit is contained in:
parent
d95a43be0b
commit
c38f588dc7
1 changed files with 6 additions and 0 deletions
|
@ -256,6 +256,12 @@ namespace geode {
|
|||
}
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Completely disregard the result. Only recommended if the result is
|
||||
* inconsequential
|
||||
*/
|
||||
constexpr void disregard() && {}
|
||||
};
|
||||
|
||||
template <class T = impl::DefaultValue>
|
||||
|
|
Loading…
Reference in a new issue