Skip to content
Snippets Groups Projects
Commit ee88fe4d authored by scott snyder's avatar scott snyder
Browse files

spelling fixes

parent 8a34e3c4
No related branches found
No related tags found
No related merge requests found
......@@ -526,7 +526,7 @@ void foo (const std::vector<float>& v) {
If you must ``fall through'' from one switch clause to another
(excluding the trivial case of a clause with no statements),
this should be explicitly indicated using the =fallthough= attribute.
this should be explicitly indicated using the =fallthrough= attribute.
This should, however, be a rare case.
#+BEGIN_EXAMPLE
......@@ -1563,9 +1563,9 @@ ostream& operator<<(ostream& out, const String& s);
*** Comparisons
- *Define comparions for custom types using* =operator=== *and* =operator<=>=. [<<comparisons>>]
- *Define comparisons for custom types using* =operator=== *and* =operator<=>=. [<<comparisons>>]
Comparions of for a custom class should be written using
Comparisons of for a custom class should be written using
=operator=== (for equality/inequality) and =operator<=>= (for ordering).
The compiler will supply the other comparison operators
(=operator!==, =operator<=, etc.) automatically. Where possible,
......@@ -2294,7 +2294,7 @@ std::cout.flags(default_flags);
=MsgStream=. No production code should use =cout=. Classes which are not
Athena-aware could use =cerr= before throwing an exception, but all
Athena-aware classes should use =MSG::FATAL= and/or throw an exception.
In addition, it is acceptible to use writes to =cout= in unit tests.
In addition, it is acceptable to use writes to =cout= in unit tests.
When using =MsgStream=, note that a call to, e.g.,
~msg() << MSG::VERBOSE~ that is suppressed by the output level has a higher
......@@ -2577,7 +2577,7 @@ void error(int severity, ARGS...)
#+END_EXAMPLE
This is fine, but should be used judiciously. It's appropriate
for forwarding arguments theough a template function. For other cases,
for forwarding arguments through a template function. For other cases,
it's worth thinking if there might be a simpler way of doing things.
An ellipsis can also occur in a catch clause to catch any
......@@ -2837,9 +2837,9 @@ some machines, left-to-right on others. -- end note ]
with aliases are better handled by object oriented techniques, like
polymorphism.
Aliases are acceptible where they provide part of the expected
Aliases are acceptable where they provide part of the expected
interface for a class, for example =value_type=, etc.
in classes used with STL algorithms. They are often indispensible
in classes used with STL algorithms. They are often indispensable
in template programming and metaprogramming, and are also part
of how xAOD classes and POOL converters are typically defined.
......@@ -3350,11 +3350,11 @@ The comment includes the fact that it is the perpendicular distance.
are ok.
** Version 0.7
- Minor cleanups and updates to take into acount that we now require C++17.
- Use the =fallthough= attribute, not a comment.
- Minor cleanups and updates to take into account that we now require C++17.
- Use the =fallthrough= attribute, not a comment.
- Allow omitting the =default= clause in a =switch= statement on an =enum=
that handles all possible values. Recent compilers will warn if some
values are not handled, and it's better to get such a diagnosic
values are not handled, and it's better to get such a diagnostic
at compile-time rather than at runtime.
- Clarify avoid-typedef section.
- Mention preference for =ATH_MSG_= macros.
......@@ -3467,7 +3467,7 @@ Doxygen also knows about //!< , I think?
# LocalWords: CLHEP cmath thresholdMin thresholdMax goto maxValue ń
# LocalWords: iostream myString GoodMorning numberOfRepetitions ifp
# LocalWords: cout endl unary LoadModule oldLm newLm jp initializer
# LocalWords: initializers lowerBound upperBound dNew jM bM n1 n2
# LocalWords: initializers lowerBound upperBound dNew jM bM n1 n2 ń
# LocalWords: calculateC1 getReal getImaginary copyable destructor
# LocalWords: ATLASExperimentalHall ExperimentalHall memberwise ptr
# LocalWords: strlen bitwise enums RTTI constness X11 inlines func
......@@ -3508,7 +3508,14 @@ Doxygen also knows about //!< , I think?
# LocalWords: Impl impl getSize accessor TBB Karsten MyFlag myFlag
# LocalWords: declareProperty myFlagValue Diff'ing nconc defun 'org
# LocalWords: backend 'latex 'my 42ul 0pt 2ex Geant4 myex 0pt 2ex
# LocalWords: 'org 'my
# LocalWords: 'org 'my TWiki twiki el Atlas02 PST99 Cxx20 isocpp v3
# LocalWords: cppreference cppstories modernescpp gotw1 gotw2 ascii
# LocalWords: Meyers97 Meyers01 unicode pragma 42ul elt typename 2f
# LocalWords: reimplement reimplemented typ ele GeV 06x 0x0143 0x
# LocalWords: iomanip '0 msg msgLvl ATH gcc coroutines coroutine
# LocalWords: varadic ARGS metaprogramming templated 0pt 2ex init
# LocalWords: n4868 Niebler 'latex 'org 'my brocket substring
# LocalWords: texttt
# Local Variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment