[vsipl++] compiler warnings

Jules Bergmann jules at codesourcery.com
Mon Nov 14 13:38:02 UTC 2005


Mark Mitchell wrote:

> 
> Here is the trick I would use:
> 
>   switch(d) {
>     default: assert(false);
>     case 0: return dist0_.num_subblocks();
>     case 1: return dist1_.num_subblocks();
>     case 2: return dist2_.num_subblocks();
>   }

Mark, good idea!

Stefan, can you give this a try?

			thanks,
			-- Jules



More information about the vsipl++ mailing list