Files
slow-libs/slowarr/std1.cxx
2025-09-04 23:14:40 +02:00

17 lines
365 B
C++

#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;
}