Mercurial > hg > octave-lyh
comparison liboctave/Array.h @ 6108:143b556ce725
[project @ 2006-10-27 01:45:54 by jwe]
author | jwe |
---|---|
date | Fri, 27 Oct 2006 01:45:56 +0000 |
parents | c20eb7330d13 |
children | 0ce71beb1cf3 |
comparison
equal
deleted
inserted
replaced
6107:6465ca8e4f0c | 6108:143b556ce725 |
---|---|
568 { | 568 { |
569 return assign (lhs, rhs, resize_fill_value (LT ())); | 569 return assign (lhs, rhs, resize_fill_value (LT ())); |
570 } | 570 } |
571 | 571 |
572 #define INSTANTIATE_ARRAY_ASSIGN(LT, RT) \ | 572 #define INSTANTIATE_ARRAY_ASSIGN(LT, RT) \ |
573 template int assign (Array<LT>&, const Array<RT>&, const LT&); \ | 573 template OCTAVE_API int assign (Array<LT>&, const Array<RT>&, const LT&); \ |
574 template int assign1 (Array<LT>&, const Array<RT>&, const LT&); \ | 574 template OCTAVE_API int assign1 (Array<LT>&, const Array<RT>&, const LT&); \ |
575 template int assign2 (Array<LT>&, const Array<RT>&, const LT&); \ | 575 template OCTAVE_API int assign2 (Array<LT>&, const Array<RT>&, const LT&); \ |
576 template int assignN (Array<LT>&, const Array<RT>&, const LT&); \ | 576 template OCTAVE_API int assignN (Array<LT>&, const Array<RT>&, const LT&); \ |
577 template int assign (Array<LT>&, const Array<RT>&) | 577 template OCTAVE_API int assign (Array<LT>&, const Array<RT>&) |
578 | 578 |
579 | 579 |
580 #define INSTANTIATE_ARRAY(T) \ | 580 #define INSTANTIATE_ARRAY(T) \ |
581 template class Array<T>; \ | 581 template class OCTAVE_API Array<T>; \ |
582 template T resize_fill_value (const T&); \ | 582 template OCTAVE_API T resize_fill_value (const T&); \ |
583 | 583 |
584 #define INSTANTIATE_ARRAY_AND_ASSIGN(T) \ | 584 #define INSTANTIATE_ARRAY_AND_ASSIGN(T) \ |
585 INSTANTIATE_ARRAY (T); \ | 585 INSTANTIATE_ARRAY (T); \ |
586 INSTANTIATE_ARRAY_ASSIGN (T, T) | 586 INSTANTIATE_ARRAY_ASSIGN (T, T) |
587 | 587 |