Commit 69149a1
Copy-on-write wrapper (#28)
* copy-on-write wrapper for containers
* alloc-aware part 1: initial allocator support
* add temp test case
* alloc-aware part 2: everything else
* remove temp test file
* fix support for cows that don't use allocators
* Formatting nitpicking
* Rename `traits_t` to `traits_type`
* some tweaks
* rename to viewed_type and owned_type
* use compressed_pair
* `default_allocator_t` -> `default_allocator_type`
* split into cow_span and cow_writable_span
---------
Co-authored-by: Brady <zeromemesdev@gmail.com>1 parent 2ab4769 commit 69149a1
2 files changed
+448
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
0 commit comments