Skip to content

Commit fddf2bf

Browse files
committed
Fix alignment issues involving /see below/ and /implementation-defined/
placeholders in library text.
1 parent 5ca060c commit fddf2bf

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

source/iterators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@
21722172
typedef Iterator pointer;
21732173
typedef typename iterator_traits<Iterator>::value_type value_type;
21742174
typedef typename iterator_traits<Iterator>::iterator_category iterator_category;
2175-
typedef @\seebelow@ reference;
2175+
typedef @\seebelownc@ reference;
21762176

21772177
move_iterator();
21782178
explicit move_iterator(Iterator i);

source/macros.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,17 @@
200200
\newcommand{\EXPO}[1]{\textit{#1}}
201201
\newcommand{\expos}{\EXPO{exposition only}}
202202
\newcommand{\impdef}{\EXPO{implementation-defined}}
203+
\newcommand{\impdefnc}{\EXPO{implementation-defined\nocorr}}
203204
\newcommand{\impdefx}[1]{\indeximpldef{#1}\EXPO{implementation-defined}}
204205
\newcommand{\notdef}{\EXPO{not defined}}
205206

206207
\newcommand{\UNSP}[1]{\textit{\texttt{#1}}}
208+
\newcommand{\UNSPnc}[1]{\textit{\texttt{#1}\nocorr}}
207209
\newcommand{\unspec}{\UNSP{unspecified}}
208-
\newcommand{\unspecnc}{\textit{\texttt{unspecified}\nocorr}}
210+
\newcommand{\unspecnc}{\UNSPnc{unspecified}}
209211
\newcommand{\unspecbool}{\UNSP{unspecified-bool-type}}
210212
\newcommand{\seebelow}{\UNSP{see below}}
213+
\newcommand{\seebelownc}{\UNSPnc{see below}}
211214
\newcommand{\unspecuniqtype}{\UNSP{unspecified unique type}}
212215
\newcommand{\unspecalloctype}{\UNSP{unspecified allocator type}}
213216

source/strings.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -879,14 +879,14 @@
879879
typedef typename allocator_traits<Allocator>::size_type size_type;
880880
typedef typename allocator_traits<Allocator>::difference_type difference_type;
881881

882-
typedef value_type& reference;
883-
typedef const value_type& const_reference;
882+
typedef value_type& reference;
883+
typedef const value_type& const_reference;
884884
typedef typename allocator_traits<Allocator>::pointer pointer;
885885
typedef typename allocator_traits<Allocator>::const_pointer const_pointer;
886886

887-
typedef @\impdef@ iterator; // See \ref{container.requirements}
888-
typedef @\impdef@ const_iterator; // See \ref{container.requirements}
889-
typedef std::reverse_iterator<iterator> reverse_iterator;
887+
typedef @\impdefnc@ iterator; // See \ref{container.requirements}
888+
typedef @\impdefnc@ const_iterator; // See \ref{container.requirements}
889+
typedef std::reverse_iterator<iterator> reverse_iterator;
890890
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
891891
static const size_type npos = -1;
892892

@@ -952,9 +952,9 @@
952952
reference at(size_type n);
953953

954954
const charT& front() const;
955-
charT& front();
955+
charT& front();
956956
const charT& back() const;
957-
charT& back();
957+
charT& back();
958958

959959
// \ref{string.modifiers}, modifiers:
960960
basic_string& operator+=(const basic_string& str);

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3197,7 +3197,7 @@
31973197
\begin{codeblock}
31983198
namespace std {
31993199
template <class Ptr> struct pointer_traits {
3200-
typedef Ptr pointer;
3200+
typedef Ptr @\itcorr@ pointer;
32013201
typedef @\seebelow@ element_type;
32023202
typedef @\seebelow@ difference_type;
32033203

0 commit comments

Comments
 (0)