[ox/std] Remove oxRequireT and oxRequireMT
This commit is contained in:
10
deps/ox/ox-docs.md
vendored
10
deps/ox/ox-docs.md
vendored
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user