[ox/std] Remove oxRequireT and oxRequireMT

This commit is contained in:
2024-10-06 06:16:14 -05:00
parent abf7548ab5
commit ab5bc1adb6
5 changed files with 33 additions and 37 deletions

10
deps/ox/ox-docs.md vendored
View File

@ -176,14 +176,8 @@ ox::Result<int> f2() noexcept {
```
```oxRequire``` is not quite as versatile, but it should still cleanup a lot of otherwise less ideal code.
```oxRequire``` also has variants for throwing the error and for making to value non-const:
* ```oxRequireM``` - oxRequire Mutable
* ```oxRequireT``` - oxRequire Throw
* ```oxRequireMT``` - oxRequire Mutable Throw
The throw variants of ```oxRequire``` are generally legacy code.
```ox::Result::unwrapThrow``` is generally preferred now.
```oxRequire``` by default creates a const, but there is also an ```oxRequireM``` (oxRequire Mutable)
variant for creating a non-const value.
### Logging and Output