MCPcopy Create free account
hub / github.com/Gecode/gecode / ArgArrayBase

Method ArgArrayBase

gecode/kernel/data/array.hpp:1549–1553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1547
1548 template<class T>
1549 inline
1550 ArgArrayBase<T>::ArgArrayBase(const ArgArrayBase<T>& aa)
1551 : n(aa.n), capacity(n < onstack_size ? onstack_size : n), a(allocate(n)) {
1552 heap.copy<T>(a,aa.a,n);
1553 }
1554
1555 template<class T>
1556 inline

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected