Skip to content

Commit 81dfb48

Browse files
authored
Fix GitHub Actions build warnings, Marker style should be * (isocpp#1925)
1 parent d5907d6 commit 81dfb48

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

CppCoreGuidelines.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16129,17 +16129,17 @@ The standard library assumes that destructors, deallocation functions (e.g., `op
1612916129

1613016130
##### Note
1613116131

16132-
- Deallocation functions, including `operator delete`, must be `noexcept`.
16133-
- `swap` functions must be `noexcept`.
16134-
- Most destructors are implicitly `noexcept` by default.
16135-
- Also, [make move operations `noexcept`](#Rc-move-noexcept).
16136-
- If writing a type intended to be used as an exception type, ensure its copy constructor is not `noexcept`. In general we cannot mechanically enforce this, because we do not know whether a type is intended to be used as an exception type.
16137-
- Try not to `throw` a type whose copy constructor is not `noexcept`. In general we cannot mechanically enforce this, because even `throw std::string(...)` could throw but does not in practice.
16132+
* Deallocation functions, including `operator delete`, must be `noexcept`.
16133+
* `swap` functions must be `noexcept`.
16134+
* Most destructors are implicitly `noexcept` by default.
16135+
* Also, [make move operations `noexcept`](#Rc-move-noexcept).
16136+
* If writing a type intended to be used as an exception type, ensure its copy constructor is not `noexcept`. In general we cannot mechanically enforce this, because we do not know whether a type is intended to be used as an exception type.
16137+
* Try not to `throw` a type whose copy constructor is not `noexcept`. In general we cannot mechanically enforce this, because even `throw std::string(...)` could throw but does not in practice.
1613816138

1613916139
##### Enforcement
1614016140

16141-
- Catch destructors, deallocation operations, and `swap`s that `throw`.
16142-
- Catch such operations that are not `noexcept`.
16141+
* Catch destructors, deallocation operations, and `swap`s that `throw`.
16142+
* Catch such operations that are not `noexcept`.
1614316143

1614416144
**See also**: [discussion](#Sd-never-fail)
1614516145

0 commit comments

Comments
 (0)