Skip to content

Commit d7728da

Browse files
committed
Replace \Cpp and related macros with \Cpp{} etc.
1 parent bb45e96 commit d7728da

26 files changed

+402
-402
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
\rSec1[algorithms.general]{General}
55

66
\pnum
7-
This Clause describes components that \Cpp programs may use to perform
7+
This Clause describes components that \Cpp{} programs may use to perform
88
algorithmic operations on containers (Clause~\ref{containers}) and other sequences.
99

1010
\pnum
@@ -1226,7 +1226,7 @@
12261226
\rSec1[algorithms.parallel]{Parallel algorithms}
12271227

12281228
\pnum
1229-
This section describes components that \Cpp programs may use to perform
1229+
This section describes components that \Cpp{} programs may use to perform
12301230
operations on containers and other sequences in parallel.
12311231

12321232
\rSec2[algorithms.parallel.defns]{Terms and definitions}

source/back.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ \chapter{Bibliography}
3535
\input{xrefdelta}
3636
\renewcommand{\glossaryname}{Cross references from ISO \CppXVII}
3737
\renewcommand{\preglossaryhook}{All section labels from
38-
ISO \CppXIV (ISO/IEC 14882:2017, \doccite{Programming Languages --- \Cpp})
38+
ISO \CppXIV{} (ISO/IEC 14882:2017, \doccite{Programming Languages --- \Cpp})
3939
are present in this document, with the exceptions described below.\\}
4040
\renewcommand{\leftmark}{\glossaryname}
4141
{

source/basic.tex

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
\gramSec[gram.basic]{Basic concepts}
55

66
\pnum
7-
\begin{note} This Clause presents the basic concepts of the \Cpp language.
7+
\begin{note} This Clause presents the basic concepts of the \Cpp{} language.
88
It explains the difference between an object and a
99
name and how they relate to the value categories for expressions.
1010
It introduces the concepts of a
11-
declaration and a definition and presents \Cpp's
11+
declaration and a definition and presents \Cpp{}'s
1212
notion of type, scope, linkage, and
1313
storage duration. The mechanisms for starting and
1414
terminating a program are discussed. Finally, this Clause presents the
@@ -206,7 +206,7 @@
206206
\pnum
207207
\begin{note}
208208
\indextext{implementation-generated}%
209-
In some circumstances, \Cpp implementations implicitly define the
209+
In some circumstances, \Cpp{} implementations implicitly define the
210210
default constructor~(\ref{class.ctor}),
211211
copy constructor~(\ref{class.copy}),
212212
move constructor~(\ref{class.copy}),
@@ -2429,7 +2429,7 @@
24292429
identity does not require a diagnostic.
24302430

24312431
\pnum
2432-
\begin{note} Linkage to non-\Cpp declarations can be achieved using a
2432+
\begin{note} Linkage to non-\Cpp{} declarations can be achieved using a
24332433
\grammarterm{linkage-specification}~(\ref{dcl.link}). \end{note}%
24342434
\indextext{linkage|)}
24352435

@@ -2455,7 +2455,7 @@
24552455

24562456
\pnum
24572457
An implementation shall not predefine the \tcode{main} function. This
2458-
function shall not be overloaded. Its type shall have \Cpp language linkage
2458+
function shall not be overloaded. Its type shall have \Cpp{} language linkage
24592459
and it shall have a declared return type of type
24602460
\tcode{int}, but otherwise its type is \impldef{parameters to \tcode{main}}.
24612461
\indextext{\idxcode{main} function!implementation-defined parameters to}%
@@ -2952,7 +2952,7 @@
29522952
\indextext{\idxcode{new}}%
29532953
\grammarterm{new-expression}{s}~(\ref{expr.new}), and destroyed using
29542954
\indextext{\idxcode{delete}}%
2955-
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp implementation
2955+
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp{} implementation
29562956
provides access to, and management of, dynamic storage via the global
29572957
\defn{allocation functions} \tcode{operator new} and \tcode{operator
29582958
new[]} and the global \defn{deallocation functions} \tcode{operator
@@ -2965,7 +2965,7 @@
29652965
\pnum
29662966
The library provides default definitions for the global allocation and
29672967
deallocation functions. Some global allocation and deallocation
2968-
functions are replaceable~(\ref{new.delete}). A \Cpp program shall
2968+
functions are replaceable~(\ref{new.delete}). A \Cpp{} program shall
29692969
provide at most one definition of a replaceable allocation or
29702970
deallocation function. Any such function definition replaces the default
29712971
version provided in the library~(\ref{replacement.functions}). The
@@ -3011,7 +3011,7 @@
30113011
class~(\ref{class.free}).
30123012

30133013
\pnum
3014-
Any allocation and/or deallocation functions defined in a \Cpp program,
3014+
Any allocation and/or deallocation functions defined in a \Cpp{} program,
30153015
including the default versions in the library, shall conform to the
30163016
semantics specified in~\ref{basic.stc.dynamic.allocation}
30173017
and~\ref{basic.stc.dynamic.deallocation}.
@@ -3059,7 +3059,7 @@
30593059
returned as a request for zero size is undefined.\footnote{The intent is
30603060
to have \tcode{operator new()} implementable by
30613061
calling \tcode{std::malloc()} or \tcode{std::calloc()}, so the rules are
3062-
substantially the same. \Cpp differs from C in requiring a zero request
3062+
substantially the same. \Cpp{} differs from C in requiring a zero request
30633063
to return a non-null pointer.}
30643064

30653065
\pnum
@@ -3082,7 +3082,7 @@
30823082
A global allocation function is only called as the result of a new
30833083
expression~(\ref{expr.new}), or called directly using the function call
30843084
syntax~(\ref{expr.call}), or called indirectly through calls to the
3085-
functions in the \Cpp standard library. \begin{note} In particular, a
3085+
functions in the \Cpp{} standard library. \begin{note} In particular, a
30863086
global allocation function is not called to allocate storage for objects
30873087
with static storage duration~(\ref{basic.stc.static}), for objects or references
30883088
with thread storage duration~(\ref{basic.stc.thread}), for objects of
@@ -3165,12 +3165,12 @@
31653165
A pointer value is a \defn{safely-derived pointer} to a dynamic object only if it
31663166
has an object pointer type and it is one of the following:
31673167
\begin{itemize}
3168-
\item the value returned by a call to the \Cpp standard library implementation of
3168+
\item the value returned by a call to the \Cpp{} standard library implementation of
31693169
\tcode{::operator new(std::\brk{}size_t)} or
31703170
\tcode{::operator new(std::size_t, std::align_val_t)}%
31713171
;\footnote{This section does not impose restrictions
31723172
on indirection through pointers to memory not allocated by \tcode{::operator new}. This
3173-
maintains the ability of many \Cpp implementations to use binary libraries and
3173+
maintains the ability of many \Cpp{} implementations to use binary libraries and
31743174
components written in other languages. In particular, this applies to C binaries,
31753175
because indirection through pointers to memory allocated by \tcode{std::malloc} is not restricted.}
31763176

@@ -3578,7 +3578,7 @@
35783578
a set of bits in the object representation that determines a
35793579
\defn{value}, which is one discrete element of an
35803580
\impldef{values of a trivially copyable type} set of values.\footnote{The
3581-
intent is that the memory model of \Cpp is compatible
3581+
intent is that the memory model of \Cpp{} is compatible
35823582
with that of ISO/IEC 9899 Programming Language C.}
35833583

35843584
\pnum

0 commit comments

Comments
 (0)