mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
9.1.0. build docs completes OK
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@625 f6dd340e-d3f9-0310-b409-bdd246841980
This commit is contained in:
parent
33c71f1fae
commit
362daabad1
7 changed files with 12 additions and 11 deletions
|
@ -39,7 +39,7 @@ sect(Template Meta Programming)
|
||||||
includefile(advancedtemplates/iterating)
|
includefile(advancedtemplates/iterating)
|
||||||
|
|
||||||
lsect(UDL)(User-defined literals (C++11, 4.7))
|
lsect(UDL)(User-defined literals (C++11, 4.7))
|
||||||
includefile(advanced/userdefined)
|
includefile(advancedtemplates/userdefined)
|
||||||
|
|
||||||
|
|
||||||
lsect(TEMPTEMPPAR)(Template template parameters)
|
lsect(TEMPTEMPPAR)(Template template parameters)
|
||||||
|
|
|
@ -22,7 +22,7 @@ required tt(Iterator) type and returns the appropriate tt(Ranger) object.
|
||||||
|
|
||||||
The tt(ranger) function template can be used in various ways:
|
The tt(ranger) function template can be used in various ways:
|
||||||
itemization(
|
itemization(
|
||||||
itb(Ranger<Iterator> ranger(Iterator const &begin, Iterator const &end))
|
itt(Ranger<Iterator> ranger(Iterator const &begin, Iterator const &end))
|
||||||
this function template returns a tt(Ranger) object for the (sub)range
|
this function template returns a tt(Ranger) object for the (sub)range
|
||||||
defined by two (reverse) iterators. Its definition is:
|
defined by two (reverse) iterators. Its definition is:
|
||||||
verb(
|
verb(
|
||||||
|
@ -32,7 +32,7 @@ The tt(ranger) function template can be used in various ways:
|
||||||
return Ranger<Iter>(begin, end);
|
return Ranger<Iter>(begin, end);
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
itb(Ranger<Iterator> ranger(Iterator const &begin, size_t count))
|
itt(Ranger<Iterator> ranger(Iterator const &begin, size_t count))
|
||||||
this function template returns a tt(Ranger) object for the (sub)range
|
this function template returns a tt(Ranger) object for the (sub)range
|
||||||
defined by the (reverse) iterator range tt(begin) and tt(begin +
|
defined by the (reverse) iterator range tt(begin) and tt(begin +
|
||||||
count).
|
count).
|
||||||
|
@ -44,7 +44,7 @@ The tt(ranger) function template can be used in various ways:
|
||||||
return Ranger<Data *>(begin, end);
|
return Ranger<Data *>(begin, end);
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
itb(Ranger<Data> ranger(Data *begin, Data *end))
|
itt(Ranger<Data> ranger(Data *begin, Data *end))
|
||||||
this function template returns a tt(Ranger) object for the (sub)range
|
this function template returns a tt(Ranger) object for the (sub)range
|
||||||
defined by the two pointers tt(begin) and tt(end).
|
defined by the two pointers tt(begin) and tt(end).
|
||||||
Its definition is:
|
Its definition is:
|
||||||
|
@ -55,7 +55,7 @@ The tt(ranger) function template can be used in various ways:
|
||||||
return Ranger<Iter>(begin, begin + count);
|
return Ranger<Iter>(begin, begin + count);
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
itb(Ranger<Data> ranger(Data *begin, size_t count))
|
itt(Ranger<Data> ranger(Data *begin, size_t count))
|
||||||
this function template returns a tt(Ranger) object for the (sub)range
|
this function template returns a tt(Ranger) object for the (sub)range
|
||||||
defined by the two pointers tt(begin) and tt(begin + count).
|
defined by the two pointers tt(begin) and tt(begin + count).
|
||||||
Its definition is:
|
Its definition is:
|
||||||
|
|
|
@ -37,7 +37,7 @@ sect(More extensions to C)
|
||||||
subsect(Strongly typed enumerations (C++11))
|
subsect(Strongly typed enumerations (C++11))
|
||||||
includefile(first/stronglytyped)
|
includefile(first/stronglytyped)
|
||||||
|
|
||||||
lsubsect(Initializer lists (C++11))
|
subsect(Initializer lists (C++11))
|
||||||
includefile(first/initializer)
|
includefile(first/initializer)
|
||||||
|
|
||||||
lsubsect(AUTO)(Type inference using `auto' (C++11))
|
lsubsect(AUTO)(Type inference using `auto' (C++11))
|
||||||
|
|
|
@ -58,7 +58,7 @@ can be used as follows:
|
||||||
itemization(
|
itemization(
|
||||||
ithtq(denorm_min)(Type denorm_min())(
|
ithtq(denorm_min)(Type denorm_min())(
|
||||||
if available for tt(Type): its minimum positive denormalized value;
|
if available for tt(Type): its minimum positive denormalized value;
|
||||||
otherwise tt(numeric_limits<Type>::min()).
|
otherwise it returns tt(numeric_limits<Type>::min()).
|
||||||
)
|
)
|
||||||
ithtq(digits)(int digits)(
|
ithtq(digits)(int digits)(
|
||||||
the number of non-sign bits used by tt(Type) values, or (floating
|
the number of non-sign bits used by tt(Type) values, or (floating
|
||||||
|
|
|
@ -9,7 +9,7 @@ includefile(inheritance/intro)
|
||||||
subsect(Inheritance depth: desirable?)
|
subsect(Inheritance depth: desirable?)
|
||||||
includefile(inheritance/depth)
|
includefile(inheritance/depth)
|
||||||
|
|
||||||
lsect(Access rights: public, private, protected)
|
sect(Access rights: public, private, protected)
|
||||||
includefile(inheritance/accessrights)
|
includefile(inheritance/accessrights)
|
||||||
|
|
||||||
lsubsect(DERIVATIONTYPES)(Public, protected and private derivation)
|
lsubsect(DERIVATIONTYPES)(Public, protected and private derivation)
|
||||||
|
|
|
@ -5,9 +5,10 @@ literals, like numerical constants (with or without suffixes), character
|
||||||
constants and string (textual) literals.
|
constants and string (textual) literals.
|
||||||
|
|
||||||
A user-defined literal is defined by a function (see also section ref(UDL))
|
A user-defined literal is defined by a function (see also section ref(UDL))
|
||||||
that must be defined at namespace scope. Such a function is called a i(literal
|
that must be defined at namespace scope. Such a function is called a
|
||||||
operator). A literal operator cannot be a class member function. Under the
|
i(literal operator).
|
||||||
C++11 standard the names of a literal operator must start with an
|
A literal operator cannot be a class member function. Under the C++11
|
||||||
|
standard the names of a literal operator must start with an
|
||||||
hi(identifier: initial underscore) underscore, and a literal operator is
|
hi(identifier: initial underscore) underscore, and a literal operator is
|
||||||
used (called) by em(suffixing) its name (including the underscore) to the
|
used (called) by em(suffixing) its name (including the underscore) to the
|
||||||
argument that must be passed to it . Assuming tt(_NM2km) (nautical mile to km)
|
argument that must be passed to it . Assuming tt(_NM2km) (nautical mile to km)
|
||||||
|
|
Loading…
Reference in a new issue