MCPcopy Create free account
hub / github.com/charto/nbind / Array

Class Array

test/Array.cc:9–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "nbind/api.h"
8
9class Array {
10
11public:
12
13 Array() {}
14
15 static std::array<int, 3> getInts() {
16 std::array<int, 3> a {{ 13, 21, 34 }};
17
18 return(a);
19 }
20
21 static std::array<int, 3> callWithInts(nbind::cbFunction &callback, std::array<int, 3> a) {
22 return(callback.call<std::array<int, 3>>(a));
23 }
24
25};
26
27class Vector {
28

Callers 1

makeArgListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected