Update array to support C++
This commit is contained in:
4
codegen/array/snippets/stack_capacity_array_cpp
Normal file
4
codegen/array/snippets/stack_capacity_array_cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
([]() {{ \
|
||||
persistent {T} buf[CAPACITY] = {{}}; \
|
||||
return {ArrayType}{{buf, 0, CAPACITY, sizeof({T})}}; \
|
||||
}}())
|
||||
Reference in New Issue
Block a user