comparison 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
comparison
equal deleted inserted replaced
4593:77566be8b9e9 4594:3a284f89aa41
541 assign (Array<LT>& lhs, const Array<RT>& rhs) 541 assign (Array<LT>& lhs, const Array<RT>& rhs)
542 { 542 {
543 return assign (lhs, rhs, resize_fill_value (LT ())); 543 return assign (lhs, rhs, resize_fill_value (LT ()));
544 } 544 }
545 545
546 #define INSTANTIATE_ARRAY_ASSIGN(LT, RT) \
547 template int assign (Array<LT>&, const Array<RT>&, const LT&); \
548 template int assign1 (Array<LT>&, const Array<RT>&, const LT&); \
549 template int assign2 (Array<LT>&, const Array<RT>&, const LT&); \
550 template int assignN (Array<LT>&, const Array<RT>&, const LT&); \
551 template int assign (Array<LT>&, const Array<RT>&)
552
553 #define INSTANTIATE_ARRAY(T) \
554 template class Array<T>; \
555 template T resize_fill_value (const T&)
556
557 #define INSTANTIATE_ARRAY_AND_ASSIGN(T) \
558 INSTANTIATE_ARRAY (T); \
559 INSTANTIATE_ARRAY_ASSIGN (T, T)
560
546 #endif 561 #endif
547 562
548 /* 563 /*
549 ;;; Local Variables: *** 564 ;;; Local Variables: ***
550 ;;; mode: C++ *** 565 ;;; mode: C++ ***