Skip to content

Commit d862aeb

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

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
@@ -20,7 +20,7 @@
2020
\input{xrefdelta}
2121
\renewcommand{\glossaryname}{Cross references from ISO \CppXIV}
2222
\renewcommand{\preglossaryhook}{All section labels from
23-
ISO \CppXIV (ISO/IEC 14882:2014, \doccite{Programming Languages --- \Cpp})
23+
ISO \CppXIV{} (ISO/IEC 14882:2014, \doccite{Programming Languages --- \Cpp})
2424
are present in this document, with the exceptions described below.\\}
2525
\renewcommand{\leftmark}{\glossaryname}
2626
{

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

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

@@ -2448,7 +2448,7 @@
24482448

24492449
\pnum
24502450
An implementation shall not predefine the \tcode{main} function. This
2451-
function shall not be overloaded. Its type shall have \Cpp language linkage
2451+
function shall not be overloaded. Its type shall have \Cpp{} language linkage
24522452
and it shall have a declared return type of type
24532453
\tcode{int}, but otherwise its type is \impldef{parameters to \tcode{main}}.
24542454
\indextext{\idxcode{main} function!implementation-defined parameters to}%
@@ -2945,7 +2945,7 @@
29452945
\indextext{\idxcode{new}}%
29462946
\grammarterm{new-expression}{s}~(\ref{expr.new}), and destroyed using
29472947
\indextext{\idxcode{delete}}%
2948-
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp implementation
2948+
\grammarterm{delete-expression}{s}~(\ref{expr.delete}). A \Cpp{} implementation
29492949
provides access to, and management of, dynamic storage via the global
29502950
\defn{allocation functions} \tcode{operator new} and \tcode{operator
29512951
new[]} and the global \defn{deallocation functions} \tcode{operator
@@ -2958,7 +2958,7 @@
29582958
\pnum
29592959
The library provides default definitions for the global allocation and
29602960
deallocation functions. Some global allocation and deallocation
2961-
functions are replaceable~(\ref{new.delete}). A \Cpp program shall
2961+
functions are replaceable~(\ref{new.delete}). A \Cpp{} program shall
29622962
provide at most one definition of a replaceable allocation or
29632963
deallocation function. Any such function definition replaces the default
29642964
version provided in the library~(\ref{replacement.functions}). The
@@ -3004,7 +3004,7 @@
30043004
class~(\ref{class.free}).
30053005

30063006
\pnum
3007-
Any allocation and/or deallocation functions defined in a \Cpp program,
3007+
Any allocation and/or deallocation functions defined in a \Cpp{} program,
30083008
including the default versions in the library, shall conform to the
30093009
semantics specified in~\ref{basic.stc.dynamic.allocation}
30103010
and~\ref{basic.stc.dynamic.deallocation}.
@@ -3052,7 +3052,7 @@
30523052
returned as a request for zero size is undefined.\footnote{The intent is
30533053
to have \tcode{operator new()} implementable by
30543054
calling \tcode{std::malloc()} or \tcode{std::calloc()}, so the rules are
3055-
substantially the same. \Cpp differs from C in requiring a zero request
3055+
substantially the same. \Cpp{} differs from C in requiring a zero request
30563056
to return a non-null pointer.}
30573057

30583058
\pnum
@@ -3075,7 +3075,7 @@
30753075
A global allocation function is only called as the result of a new
30763076
expression~(\ref{expr.new}), or called directly using the function call
30773077
syntax~(\ref{expr.call}), or called indirectly through calls to the
3078-
functions in the \Cpp standard library. \begin{note} In particular, a
3078+
functions in the \Cpp{} standard library. \begin{note} In particular, a
30793079
global allocation function is not called to allocate storage for objects
30803080
with static storage duration~(\ref{basic.stc.static}), for objects or references
30813081
with thread storage duration~(\ref{basic.stc.thread}), for objects of
@@ -3158,12 +3158,12 @@
31583158
A pointer value is a \defn{safely-derived pointer} to a dynamic object only if it
31593159
has an object pointer type and it is one of the following:
31603160
\begin{itemize}
3161-
\item the value returned by a call to the \Cpp standard library implementation of
3161+
\item the value returned by a call to the \Cpp{} standard library implementation of
31623162
\tcode{::operator new(std::\brk{}size_t)} or
31633163
\tcode{::operator new(std::size_t, std::align_val_t)}%
31643164
;\footnote{This section does not impose restrictions
31653165
on indirection through pointers to memory not allocated by \tcode{::operator new}. This
3166-
maintains the ability of many \Cpp implementations to use binary libraries and
3166+
maintains the ability of many \Cpp{} implementations to use binary libraries and
31673167
components written in other languages. In particular, this applies to C binaries,
31683168
because indirection through pointers to memory allocated by \tcode{std::malloc} is not restricted.}
31693169

@@ -3568,7 +3568,7 @@
35683568
a set of bits in the object representation that determines a
35693569
\defn{value}, which is one discrete element of an
35703570
\impldef{values of a trivially copyable type} set of values.\footnote{The
3571-
intent is that the memory model of \Cpp is compatible
3571+
intent is that the memory model of \Cpp{} is compatible
35723572
with that of ISO/IEC 9899 Programming Language C.}
35733573

35743574
\pnum

0 commit comments

Comments
 (0)