[gmx-developers] C++ decisions - header file extension - use of bool
David van der Spoel
spoel at xray.bmc.uu.se
Fri Mar 15 08:49:56 CET 2013
Hi,
I have two simple questions that have been brought up before but would
be good to settle.
First is about header file name. Since we will for the foreseeable
future at least have both C and C++ code it would be good in my opinion
to have a clear distinction in file names. The C++ files have extension
.cpp throughout, but the header files are .h. I would like to propose to
mv those to .hpp.
Second is the use of bool versus gmx_bool. I was convinced at first that
bool was the way to go, but of course this is not portable to C code, so
it is probably better to stick with gmx_bool.
Comments, opinions?
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list