mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
use code spans in README.md (#1078)
This commit is contained in:
parent
ac26d7bc71
commit
f94c1f6f2b
@ -48,15 +48,15 @@ Expects | ☑ | a precondition assertion; on f
|
|||||||
Ensures | ☑ | a postcondition assertion; on failure it terminates
|
Ensures | ☑ | a postcondition assertion; on failure it terminates
|
||||||
[**4. Utilities**][cg-utilities] | |
|
[**4. Utilities**][cg-utilities] | |
|
||||||
move_owner | ☐ | a helper function that moves one `owner` to the other
|
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
|
final_action | ☑ | a RAII style class that invokes a functor on its destruction
|
||||||
finally | ☑ | a helper function instantiating `final_action`
|
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")]]`
|
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
|
[[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
|
joining_thread | ☐ | a RAII style version of `std::thread` that joins
|
||||||
narrow | ☑ | a checked version of narrow_cast; it can throw `narrowing_error`
|
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_cast | ☑ | a narrowing cast for values and a synonym for `static_cast`
|
||||||
narrowing_error | ☑ | a custom exception type thrown by `narrow()`
|
narrowing_error | ☑ | a custom exception type thrown by `narrow()`
|
||||||
[**5. Concepts**][cg-concepts] | ☐ |
|
[**5. Concepts**][cg-concepts] | ☐ |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user