c
This commit is contained in:
16
slowarr/std1.cxx
Normal file
16
slowarr/std1.cxx
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user