[Insight-developers] Explicit instantiation

Miller, James V (GE, Research) millerjv at crd.ge.com
Fri Apr 21 09:09:08 EDT 2006


We've noticed code being checked into ITK to support explicit instantiation.

Can someone put a page on the ITK proposals wiki page that details the proposed methodology?

It looks like there are a collection of macros and nested include files to indicate what needs to be instantiated.

Looking at the macros being introduced, I fear that our developers will not know how to write the necessary macro for a new class they are introducing.  Do we need to use macros at all?  Is it possible to just type out the instantiations we want?  I assume the macros are meant to simply the export/import syntax.

There seems to be a lot of files. Very nested. I fear it will be hard for people to navigate.

Also, it appears that we are using a one-file-per-instantiation model. Is this the best approach? Or would it be better to lump a number of related instantiations into one file (as long as it wouldn't get too big to compile)?

Jim

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C223
1 Research Circle, Schenectady NY 12309-1027

millerjv at research.ge.com <mailto:millerjv at research.ge.com>
(518) 387-4005, Dial Comm: 8*833-4005
Cell: (518) 505-7065, Fax: (518) 387-6981


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20060421/99e0fc9a/attachment.htm


More information about the Insight-developers mailing list