use code spans in README.md (#1078)

This commit is contained in:
Werner Henze 2022-12-29 19:23:30 +01:00 committed by GitHub
parent ac26d7bc71
commit f94c1f6f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,15 +48,15 @@ Expects | ☑ | a precondition assertion; on f
Ensures | ☑ | a postcondition assertion; on failure it terminates
[**4. Utilities**][cg-utilities] | |
move_owner | ☐ | a helper function that moves one `owner` to the other
byte | ☑ | either an alias to std::byte or a byte type
byte | ☑ | either an alias to `std::byte` or a byte type
final_action | ☑ | a RAII style class that invokes a functor on its destruction
finally | ☑ | a helper function instantiating `final_action`
GSL_SUPPRESS | ☑ | a macro that takes an argument and turns it into `[[gsl::suppress(x)]]` or `[[gsl::suppress("x")]]`
[[implicit]] | ☐ | a "marker" to put on single-argument constructors to explicitly make them non-explicit
index | ☑ | a type to use for all container and array indexing (currently an alias for std::ptrdiff_t)
index | ☑ | a type to use for all container and array indexing (currently an alias for `std::ptrdiff_t`)
joining_thread | ☐ | a RAII style version of `std::thread` that joins
narrow | ☑ | a checked version of narrow_cast; it can throw `narrowing_error`
narrow_cast | ☑ | a narrowing cast for values and a synonym for static_cast
narrow | ☑ | a checked version of `narrow_cast`; it can throw `narrowing_error`
narrow_cast | ☑ | a narrowing cast for values and a synonym for `static_cast`
narrowing_error | ☑ | a custom exception type thrown by `narrow()`
[**5. Concepts**][cg-concepts] | ☐ |