diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-20 16:11:58 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-20 16:11:58 +0000 |
commit | e4012d4f434e51857a95a5f1d6df44162561737f (patch) | |
tree | 1089d43792c05fcf3dd95812647c1899c9c3235e /src/jtutil/test_array2.cc | |
parent | 9bc76282929efeda02709fae687ddc862ffcfbdd (diff) |
when we have a default argument to a C++ function, only give the
default in the .hh file -- in the .cc file you're not supposed to
repeat it (it's now in /* comments /), eg
// foo.hh
void foo(int x, int y = 0);
// foo.cc
#include "foo.hh"
void foo(int x, int y /* = 0 */)
{
// ...
}
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@760 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/jtutil/test_array2.cc')
0 files changed, 0 insertions, 0 deletions