mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-09-28 03:20:44 +02:00
fixes the use of file(s) (in preamble.yo)
This commit is contained in:
parent
44affcdb32
commit
56de32fafd
7 changed files with 9 additions and 7 deletions
|
@ -21,7 +21,7 @@ the compiler must ignore the tt(inline) keyword and define so-called
|
|||
em(virtual members) as true (em(out-of-line))
|
||||
hi(out-of-line functions)
|
||||
functions. In this situation the vague linkage may cause problems, as the
|
||||
compiler must decide in what object file(s) to put their code. Usually that's
|
||||
compiler must decide in what object files() to put their code. Usually that's
|
||||
not a big problem as long as the function is at least called once. But virtual
|
||||
functions are special in the sense that they may very well never be explicitly
|
||||
called. On some architectures (e.g., armel) the compiler may fail to compile
|
||||
|
|
|
@ -26,7 +26,7 @@ or as (see below)
|
|||
|
||||
In order to use execution policies the tthi(execution) header file must be
|
||||
included, and the linking option ti(-ltbb) must be specified with linking the
|
||||
compiled object file(s).
|
||||
compiled object files().
|
||||
|
||||
There are four types of execution policies (all defined in the tt(std)
|
||||
namespace):
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
NOUSERMACRO(file)
|
||||
|
||||
includefile(modules/intro.yo)
|
||||
|
||||
sect(An initial, complete module)
|
||||
|
|
|
@ -88,7 +88,7 @@ modules and partitions; and each inspected sub-directory has received a
|
|||
soft-link tt(gcm.cache) to the top-level tt(gcm.cache) sub-directory, allowing
|
||||
the files in each sub-directory to import the project's modules. Next,
|
||||
the source files in the directories listed in the tt(CLASSES) file (and
|
||||
possibly the source file(s) in the top-level diretory itself) can be compiled
|
||||
possibly the source files() in the top-level diretory itself) can be compiled
|
||||
as usual, e.g., using a build-utility.
|
||||
|
||||
COMMENT(
|
||||
|
|
|
@ -33,7 +33,7 @@ and tt(Utility) are defined as classes in their own partitions:
|
|||
tt(Math:Utility) and tt(Math:Add).
|
||||
|
||||
hi(partition: syntax) Note that partitions are not em(class) members:
|
||||
partitions are specified using only a em(single) colon) instead of two, as
|
||||
partitions are specified using only a em(single) colon instead of two, as
|
||||
used then defining cass member functions.
|
||||
|
||||
The tt(Math) module and its tt(Math) class are exported, so the em(class)
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SUBST(C2a)(tt(C++26))
|
||||
|
||||
COMMENT( for 'file(s)' -> f+iles() )
|
||||
NOUSERMACRO(iles)
|
||||
DEFINEMACRO(files)(0)(CHAR(f)iles(s))
|
||||
|
||||
COMMENT(The following macros are used to define upcoming sections and
|
||||
files. Once they are available, simply remove the `c' to activate
|
||||
them)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SUBST(DOCVERSION)(13.0.0)
|
||||
SUBST(DOCVERSION)(13.00.00)
|
||||
SUBST(YEARS)(1994-2024)
|
||||
|
|
Loading…
Reference in a new issue