Added C++ frontend.
Added another implementation of NForm_ptr.