Page 1 of 1

Using templated functions in kernel?

Posted: Sun Feb 16, 2003 12:00 am
by EKP++
Is using templated functions in your kernel (which is written in C++ [compiler is G++]) a good idea? Is RTTI needed for this?

Thank You in advance.

:-) Oh yeah

Posted: Sun Feb 16, 2003 12:00 am
by EKP++
Yes - it works. No RTTI needed.

Which brings me up to an actual question for those who code their kernels in C++. Do I need to define some support for RTTI under G++ (2.95) or is it safe to use out-of-the-box?

Thanks in advance.