Set and Ranges template.

Fredrik Olsson peylow at gmail.com
Sat Jul 8 13:19:41 PDT 2006


Small additional comments:

Is it a bug in GDC or am I using Templates wrong? When putting the 
templates in a separate module I get linking errors when compiling with 
template instantiations not originally used by the imported module.
For example:
/usr/bin/ld: Undefined symbols:
__init_35TypeInfo_C4toys3set10__T3SetTfZ3Set
__init_39TypeInfo_C4toys3set12__T5RangeTfZ5Range
__init_53TypeInfo_C4toys3set19__T11AbstractSetTfZ11AbstractSet

Also i need to make "static if"s on numerical (any real or integer type) 
and on integers (Only integer but all types). How do I do this in an 
easy way?

// Fredrik



More information about the Digitalmars-d-announce mailing list