This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using C++ in GCC is OK
- From: Brian Makin <merimus at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 1 Jun 2010 07:15:36 -0700 (PDT)
- Subject: Re: Using C++ in GCC is OK
I would highly suggest looking at google guidelines.
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
They are aimed at taking some of the landlines out of c++ and give pros and cons for each argument.
There are many places in the gcc source where we are already doing C++ things. I would think those would be the best places to start.
Adding classes (especially with inheritance) should not be a development decision but instead a design decision. To really move towards C++ we really need to develop a model of what we would like the code to look like.