| 1020 | |
| 1021 | template<class Var> |
| 1022 | forceinline void |
| 1023 | VarArray<Var>::update(Space& home, VarArray<Var>& a) { |
| 1024 | n = a.n; |
| 1025 | if (n > 0) { |
| 1026 | x = home.alloc<Var>(n); |
| 1027 | for (int i=0; i<n; i++) |
| 1028 | x[i].update(home, a.x[i]); |
| 1029 | } else { |
| 1030 | x = nullptr; |
| 1031 | } |
| 1032 | } |
| 1033 | |
| 1034 | template<class Var> |
| 1035 | forceinline bool |
no outgoing calls
no test coverage detected