mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
cosmetics
This commit is contained in:
parent
56de32fafd
commit
93b747e4a2
5 changed files with 4 additions and 4 deletions
|
@ -86,7 +86,7 @@ tt(Square's) constructor:
|
|||
and the other members are defined analogously:
|
||||
verbinclude(-as4 examples/initial/square/amount1.cc)
|
||||
verbinclude(-as4 examples/initial/square/amount2.cc)
|
||||
verbinclude(-as4 examples/initial/square/lastSquared.cc)
|
||||
verbinclude(-as4 examples/initial/square/lastsquared.cc)
|
||||
verbinclude(-as4 examples/initial/square/square.cc)
|
||||
|
||||
As an aside: the members of this class tt(Square) are all very simple, and
|
||||
|
|
|
@ -17,7 +17,7 @@ as covered before, when implementing a partition component using
|
|||
em(frame file)em(s) are advised: when defining a new source file start by
|
||||
copying tt(frame) to the new source file, followed by completing its
|
||||
implementation. For tt(Math:Utility) the following frame file is used:
|
||||
verbinsert(-as4 examples/partition/utility/frame)
|
||||
verbinsert(-as4 examples/partition/utility/framex)
|
||||
|
||||
Beyond the required declaration and imports components of partitions (and
|
||||
modules) are implemented as usual. E.g., here is the implementation of
|
||||
|
@ -26,7 +26,7 @@ tt(Math:Utility's class Utility's) constructor:
|
|||
|
||||
The tt(Math:Add) partition's remaining source files also start from a
|
||||
tt(frame) file:
|
||||
verbinsert(-as4 examples/partition/add/frame)
|
||||
verbinsert(-as4 examples/partition/add/framex)
|
||||
|
||||
Since tt(frame) satisfies all requirements tt(Add's) members can now
|
||||
straightforwardly be implemented. Here's tt(Add's) constructor:
|
||||
|
@ -37,7 +37,7 @@ sum of its two parameter values:
|
|||
|
||||
The tt(Math) module defines its own a tt(frame) file, which is used to start
|
||||
the definition of the members of its tt(Math) module:
|
||||
verbinsert(-as4 examples/partition/math/frame)
|
||||
verbinsert(-as4 examples/partition/math/framex)
|
||||
|
||||
The tt(Math) module's tt(class Math) defines a constructor and two members,
|
||||
which can be defined as usual. Its constructor:
|
||||
|
|
Loading…
Reference in a new issue