Skip to content

Commit 4f47ed5

Browse files
committed
Added table of content to Readme
1 parent 85c2766 commit 4f47ed5

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ Built and tested on:
88
- MacOS (clang)
99
- WebAssembly (Emscripten)
1010

11+
<!-- MarkdownTOC autolink="true" -->
12+
13+
- [Introduction](#introduction)
14+
- [Usage](#usage)
15+
- [Limitations](#limitations)
16+
- [Comparison spreadsheet](#comparison-spreadsheet)
17+
- [Speed benchmarks](#speed-benchmarks)
18+
- [Alternative implementation](#alternative-implementation)
19+
20+
<!-- /MarkdownTOC -->
21+
1122

1223
## Introduction
1324

@@ -176,9 +187,6 @@ Detail of the benchmarks:
176187
| Dereference observer | 1 | 114 | 1 | 1 |
177188

178189

179-
180-
## Notes
181-
182-
### Alternative implementation
190+
## Alternative implementation
183191

184192
An alternative implementation of an "observable unique pointer" can be found [here](https://www.codeproject.com/articles/1011134/smart-observers-to-use-with-unique-ptr). It does not compile out of the box with gcc unfortunately, but it does contain more features (like creating an observer pointer from a raw `this`) and lacks others (their `make_observable` always performs two allocations). Have a look to check if this better suits your needs.

0 commit comments

Comments
 (0)