This commit is contained in:
2025-09-04 23:14:40 +02:00
parent 2b05f07c1f
commit 337f069d5d
12 changed files with 907 additions and 213 deletions

16
slowarr/std1.cxx Normal file
View File

@@ -0,0 +1,16 @@
#include <vector>
#define SLOW_DEFINE_ACCESS
#include "../slowarr.h"
typedef char const *cstr;
SLOWARR_Header(cstr);
SLOWARR_Impl(cstr);
int main(int argc, char const **argv) {
T(SLOWARR, cstr) arr = F(SLOWARR, cstr, borrow)(argv, argc);
SlowArr<cstr> arrx = {arr};
(void)arr;
(void)arrx;
std::vector<cstr> vec(arrx.begin(), arrx.end());
(void)vec;
}