diff options
| author | Tyge Løvset <[email protected]> | 2021-01-18 10:55:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-18 10:55:43 +0100 |
| commit | 5bac0853fdb8ee72032785a7387666e26f0437f2 (patch) | |
| tree | a81d8aa7045355587c84879e42eaaefac6e445e6 /docs/clist_api.md | |
| parent | 5d53c7ac0227846782d5149b63072b863bd33f01 (diff) | |
| download | STC-modified-5bac0853fdb8ee72032785a7387666e26f0437f2.tar.gz STC-modified-5bac0853fdb8ee72032785a7387666e26f0437f2.zip | |
Update clist_api.md
Diffstat (limited to 'docs/clist_api.md')
| -rw-r--r-- | docs/clist_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md index 99c399fa..767d5f24 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -103,7 +103,7 @@ clist_X_iter_t clist_X_fwd(clist_X_iter it, size_t n); clist_X_value_t clist_X_value_clone(clist_X_value_t val); ``` -The `clist_X_splice_out(self, it1, it2)` can be combined with `clist_X_splice_after(self, pos, other)` to mimic c++ `std::forward_list::splice_after(pos, other, it1, it2)`. Note however that *it2* is included in elements to be spliced, unlike with `std::forward_list()`. E.g, splice in `[2, 3]` after `10` in *L2*: +The `clist_X_splice_out(self, it1, it2)` can be combined with `clist_X_splice_after(self, it, other)` to mimic c++ `std::forward_list::splice_after(it, other, it1, it2)`. Note however that *it2* is included in elements to be spliced, unlike with *std::forward_list()*. Example: splice in `[2, 3]` from *L1* after `10` in *L2*: ```c c_init (clist_i, L1, {1, 2, 3, 4, 5}); c_init (clist_i, L2, {10, 20, 30, 40, 50}); |
