December 17, 2002 | ||
NYC Talk | ||
Daveed has a talk scheduled on January 2nd in New York City. The topic will be “C++ Template Instantiation -- Advanced Concepts.” |
||
The talk is for the C++ and Java SIG (special interest group) of the NYPC users group. If all goes well, we'll start at 6:30pm on the 15th floor of the New Yorker Hotel (34th Street and 8th Avenue).
|
||
Posted by Daveed at 03:36 PM
| Comments (1)
|
||
Daveed,
The Inclusion vs. Separation debate is interesting, but I would like to point out that there is a third option -- the Instantiator idiom. With Instantiator, you can have separate compilation without export or hidden dependencies. It does not use explicit instantiation, so the multiple-definition problem is avoided, and maintenance is easier because new instantiations can be added without editing source code. Please see http://www.geocities.com/eric_niebler/instantiator.html for a description and for some sample code.
Sincerely,
Eric Niebler