Using templated functions in kernel?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
EKP++

Using templated functions in kernel?

Post 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.
EKP++

:-) Oh yeah

Post 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.
Post Reply