[ros-kernel] C++
Andrew Greenwood
lists at silverblade.co.uk
Tue Mar 9 19:34:21 CET 2004
What's our policy on C++ code?
The reason I ask is because I'm way more confident in C++ than I am in C. I
also find it a lot more organized (being object oriented), and besides, it's
supposed to be less error-prone to code in.
I understand we need to export API routines as C functions, but it's fairly
straightforward to handle that.
Why would I want to do this? Well, because it makes life easier. I can
create classes for instance-specific data that are automatically initialized
to some default values, and then use linked list templates to hold them.
Can I do this? At least just for mmdrv and maybe my sndblst driver?
Also, and I'm sure I asked this before, would it be possible to use C++ for
some other things like user32/gdi32 etc?
More information about the Ros-kernel
mailing list