I want a stronger typedef
Posted on 2000-04-12
I have three parallel vectors. (i.e. Read[i] corresponds
to Full[i] and Sparse[i]).
I would like to create a type that can only be used
to index these three vectors. Since vectors are
idnexed by ints by definition I can't prevent these
vectors from being indexed by a straight int type
(at least I don't think that I can). But, I am still hoping
that I can at least create a type that can only
be used to index these vectors.
If I can't., I can't.