[Insight-developers] Depth of nested templates

Brad King brad.king@kitware.com
Fri, 16 Mar 2001 11:35:56 -0500 (EST)


Yipeng,

> I just checked in another classes: itkVoronoiSegmentationImageFilter
> please try a compiler on you machine and told me if there is any
> too-deep-templates problem. my compiler won't give any warning on
> this.(MSVC)
After a couple minor repairs, it works fine on GCC (see the log entry
when you update).  There are still some signed/unsigned warnings for you
to hammer out, though.

If something builds correctly on your development environment, and you are
confident it is correct C++ code, go ahead and check it in.  One of the
dashboard's purposes is to let you see how your changes affected other
platforms.  You can (should) check it the next day to see if you broke
anything.

-Brad