Skip to content

Commit 2c41c18

Browse files
committed
Replace \Cpp and related macros with \Cpp{} etc.
1 parent ba2a02b commit 2c41c18

25 files changed

+401
-401
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
@@ -1199,7 +1199,7 @@
11991199
\rSec1[algorithms.parallel]{Parallel algorithms}
12001200

12011201
\pnum
1202-
This section describes components that \Cpp programs may use to perform
1202+
This section describes components that \Cpp{} programs may use to perform
12031203
operations on containers and other sequences in parallel.
12041204

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

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}),
@@ -2421,7 +2421,7 @@
24212421
identity does not require a diagnostic.
24222422

24232423
\pnum
2424-
\begin{note} Linkage to non-\Cpp declarations can be achieved using a
2424+
\begin{note} Linkage to non-\Cpp{} declarations can be achieved using a
24252425
\grammarterm{linkage-specification}~(\ref{dcl.link}). \end{note}%
24262426
\indextext{linkage|)}
24272427

@@ -2443,7 +2443,7 @@
24432443

24442444
\pnum
24452445
An implementation shall not predefine the \tcode{main} function. This
2446-
function shall not be overloaded. Its type shall have \Cpp language linkage
2446+
function shall not be overloaded. Its type shall have \Cpp{} language linkage
24472447
and it shall have a declared return type of type
24482448
\tcode{int}, but otherwise its type is \impldef{parameters to \tcode{main}}.
24492449
\indextext{\idxcode{main} function!implementation-defined parameters to}%
@@ -2912,7 +2912,7 @@
29122912
\indextext{\idxcode{new}}%
29132913
\grammarterm{new-expression}{s}~(\ref{expr.new}), and destroyed using
29142914
\indextext{\idxcode{delete}}%
2915-
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp implementation
2915+
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp{} implementation
29162916
provides access to, and management of, dynamic storage via the global
29172917
\defn{allocation functions} \tcode{operator new} and \tcode{operator
29182918
new[]} and the global \defn{deallocation functions} \tcode{operator
@@ -2925,7 +2925,7 @@
29252925
\pnum
29262926
The library provides default definitions for the global allocation and
29272927
deallocation functions. Some global allocation and deallocation
2928-
functions are replaceable~(\ref{new.delete}). A \Cpp program shall
2928+
functions are replaceable~(\ref{new.delete}). A \Cpp{} program shall
29292929
provide at most one definition of a replaceable allocation or
29302930
deallocation function. Any such function definition replaces the default
29312931
version provided in the library~(\ref{replacement.functions}). The
@@ -2971,7 +2971,7 @@
29712971
class~(\ref{class.free}).
29722972

29732973
\pnum
2974-
Any allocation and/or deallocation functions defined in a \Cpp program,
2974+
Any allocation and/or deallocation functions defined in a \Cpp{} program,
29752975
including the default versions in the library, shall conform to the
29762976
semantics specified in~\ref{basic.stc.dynamic.allocation}
29772977
and~\ref{basic.stc.dynamic.deallocation}.
@@ -3019,7 +3019,7 @@
30193019
returned as a request for zero size is undefined.\footnote{The intent is
30203020
to have \tcode{operator new()} implementable by
30213021
calling \tcode{std::malloc()} or \tcode{std::calloc()}, so the rules are
3022-
substantially the same. \Cpp differs from C in requiring a zero request
3022+
substantially the same. \Cpp{} differs from C in requiring a zero request
30233023
to return a non-null pointer.}
30243024

30253025
\pnum
@@ -3042,7 +3042,7 @@
30423042
A global allocation function is only called as the result of a new
30433043
expression~(\ref{expr.new}), or called directly using the function call
30443044
syntax~(\ref{expr.call}), or called indirectly through calls to the
3045-
functions in the \Cpp standard library. \begin{note} In particular, a
3045+
functions in the \Cpp{} standard library. \begin{note} In particular, a
30463046
global allocation function is not called to allocate storage for objects
30473047
with static storage duration~(\ref{basic.stc.static}), for objects or references
30483048
with thread storage duration~(\ref{basic.stc.thread}), for objects of
@@ -3126,12 +3126,12 @@
31263126
A pointer value is a \grammarterm{safely-derived pointer} to a dynamic object only if it
31273127
has an object pointer type and it is one of the following:
31283128
\begin{itemize}
3129-
\item the value returned by a call to the \Cpp standard library implementation of
3129+
\item the value returned by a call to the \Cpp{} standard library implementation of
31303130
\tcode{::operator new(std\colcol{}size_t)} or
31313131
\tcode{::operator new(std\colcol{}size_t, std\colcol{}align_val_t)}%
31323132
;\footnote{This section does not impose restrictions
31333133
on indirection through pointers to memory not allocated by \tcode{::operator new}. This
3134-
maintains the ability of many \Cpp implementations to use binary libraries and
3134+
maintains the ability of many \Cpp{} implementations to use binary libraries and
31353135
components written in other languages. In particular, this applies to C binaries,
31363136
because indirection through pointers to memory allocated by \tcode{std\colcol{}malloc} is not restricted.}
31373137

@@ -3532,7 +3532,7 @@
35323532
a set of bits in the object representation that determines a
35333533
\defn{value}, which is one discrete element of an
35343534
\impldef{values of a trivially copyable type} set of values.\footnote{The
3535-
intent is that the memory model of \Cpp is compatible
3535+
intent is that the memory model of \Cpp{} is compatible
35363536
with that of ISO/IEC 9899 Programming Language C.}
35373537

35383538
\pnum

0 commit comments

Comments
 (0)