Mercurial > hg > octave-nkf
diff liboctave/Array.h @ 4594:3a284f89aa41
[project @ 2003-11-12 02:27:28 by jwe]
author | jwe |
---|---|
date | Wed, 12 Nov 2003 02:29:55 +0000 |
parents | 77566be8b9e9 |
children | 87c01a296263 |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -543,6 +543,21 @@ return assign (lhs, rhs, resize_fill_value (LT ())); } +#define INSTANTIATE_ARRAY_ASSIGN(LT, RT) \ + template int assign (Array<LT>&, const Array<RT>&, const LT&); \ + template int assign1 (Array<LT>&, const Array<RT>&, const LT&); \ + template int assign2 (Array<LT>&, const Array<RT>&, const LT&); \ + template int assignN (Array<LT>&, const Array<RT>&, const LT&); \ + template int assign (Array<LT>&, const Array<RT>&) + +#define INSTANTIATE_ARRAY(T) \ + template class Array<T>; \ + template T resize_fill_value (const T&) + +#define INSTANTIATE_ARRAY_AND_ASSIGN(T) \ + INSTANTIATE_ARRAY (T); \ + INSTANTIATE_ARRAY_ASSIGN (T, T) + #endif /*