On Thu, 23 Dec 2010 17:28:49 -0500, %u <[email protected]> wrote:
Should have been this:
void func(type t){
new t();
}
void func(T)(){
new T();
}
When you are passing types into functions, use templates.
-Steve
On Thu, 23 Dec 2010 17:28:49 -0500, %u <[email protected]> wrote:
Should have been this:
void func(type t){
new t();
}
void func(T)(){
new T();
}
When you are passing types into functions, use templates.
-Steve