template instantiation

Started by
9 comments, last by joanusdmentia 21 years, 5 months ago
damn it, now for my next problem:

is something like this possible?


    template<class T> struct VECTOR_EXPRESSION_TYPE;template<> template<unsigned int n, class _T>struct VECTOR_EXPRESSION_TYPE< Base<n,T> >{};template<> template<class TR, class TE>			  struct VECTOR_EXPRESSION_TYPE< Expr1<TR,TE> >{};template<> template<class TL, class TR, class TE> struct VECTOR_EXPRESSION_TYPE< Expr2<TL,TR,TE> >{};    


where Base, Expr1<tr,TE>, Expr2 are defined early.
.Net doesn't like it, that's for sure.

[edited by - joanusdmentia on November 2, 2002 9:10:35 PM]
"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.".....V

This topic is closed to new replies.

Advertisement