Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9fbda34

Browse files
authored
Update README.md
1 parent 578c223 commit 9fbda34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ int main()
7676
}
7777
```
7878

79-
#### EXCEPTIONS
79+
### EXCEPTIONS
8080

8181
- **Tiny-utf8** should automatically detect, whether your build system allows the use of exceptions or not. This is done by checking for the feature test macro `__cpp_exceptions`.
8282
- If you would like **tiny-utf8** to be `noexcept` anyway, `#define` the macro `TINY_UTF8_NOEXCEPT`.
8383
- If you would like **tiny-utf8** to use a different exception strategy, `#define` the macro `TINY_UTF8_THROW( location , failing_predicate )`. For using assertions, you would write `#define TINY_UTF8_THROW( _ , pred ) assert( pred )`.
8484
- *Hint:* If exceptions are disabled, `TINY_UTF8_THROW( ... )` is automatically defined as `void()`. This works well, because all uses of `TINY_UTF8_THROW` are immediately followed by a `;` as well as a proper `return` statement with a fallback value. That also means, `TINY_UTF8_THROW` can safely be a NO-OP.
8585

86-
#### BACKWARDS-COMPATIBILITY
86+
### BACKWARDS-COMPATIBILITY
8787

8888
#### *CHANGES BETWEEN Version 4.3 and 4.2*
8989

0 commit comments

Comments
 (0)