diff options
| author | Tyge Løvset <[email protected]> | 2021-09-23 20:55:07 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-23 20:55:07 +0200 |
| commit | 2686887e9091b3d56365b8ddc15db67324ee6727 (patch) | |
| tree | 48e634d4eaebb7c67e3816f4110a150343f9c366 /include/stc/cvec.h | |
| parent | 4ab5b3f6f5c841ab8c2202e838979a0d6df91530 (diff) | |
| download | STC-modified-2686887e9091b3d56365b8ddc15db67324ee6727.tar.gz STC-modified-2686887e9091b3d56365b8ddc15db67324ee6727.zip | |
Cleanup: Replaced c_emplace() macro with more general c_apply()/c_apply_pair() macros, and removed c_var() macro.
Removed CX_emplace_items() member functions in containers used by c_emplace().
Diffstat (limited to 'include/stc/cvec.h')
| -rw-r--r-- | include/stc/cvec.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/stc/cvec.h b/include/stc/cvec.h index 3dc7b4c1..d7f74fe9 100644 --- a/include/stc/cvec.h +++ b/include/stc/cvec.h @@ -172,11 +172,6 @@ STC_INLINE cx_iter_t cx_memb(_emplace_range)(Self* self, cx_iter_t it, cx_iter_t it1, cx_iter_t it2) {
return cx_memb(_insert_range_p)(self, it.ref, it1.ref, it2.ref, true);
}
-STC_INLINE void
-cx_memb(_emplace_items)(Self *self, const cx_rawvalue_t arr[], size_t n) {
- cx_memb(_emplace_range_p)(self, self->data + cvec_rep_(self)->size, arr, arr + n);
-}
-
STC_INLINE cx_iter_t
cx_memb(_erase)(Self* self, size_t idx) {
return cx_memb(_erase_range_p)(self, self->data + idx, self->data + idx + 1);
|
