C++ for Kernel Mode Drivers is an article I just found that talks about using C++ in driver code for the Windows OS. It explains in great detail why using C++ is difficult and discouraged in such scenario. Without paying much attention to Windows-specific details, it is a good read no matter which OS you develop for.