Skip to content

Commit eb17cd8

Browse files
LarsGullikjwakely
authored andcommitted
Remove eol whitespace everywhere
1 parent f0db430 commit eb17cd8

File tree

9 files changed

+90
-90
lines changed

9 files changed

+90
-90
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
https://github.com/cplusplus/networking-ts is the repository for the
1+
https://github.com/cplusplus/networking-ts is the repository for the
22
C++ Technical Specification "Extensions for Networking".
33

44
The draft Technical Specification is found in the `src` directory

src/async.tex

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
A service shall provide an explicit constructor with a single parameter of lvalue reference to \tcode{execution_context}. \begin{note} This constructor may be called by the \tcode{use_service} function. \end{note}
341341

342342
\pnum
343-
\begin{example}
343+
\begin{example}
344344

345345
\begin{codeblock}
346346
class my_service : public execution_context::service
@@ -2685,7 +2685,7 @@
26852685

26862686
\begin{itemdescr}
26872687
\pnum
2688-
\returns
2688+
\returns
26892689
\begin{itemize}
26902690
\item
26912691
\tcode{true} if \tcode{!a} and \tcode{!b};
@@ -2763,7 +2763,7 @@
27632763
\completionsig \tcode{void()}.
27642764

27652765
\pnum
2766-
\effects
2766+
\effects
27672767
\begin{itemize}
27682768
\item
27692769
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -2785,7 +2785,7 @@
27852785
\completionsig \tcode{void()}.
27862786

27872787
\pnum
2788-
\effects
2788+
\effects
27892789
\begin{itemize}
27902790
\item
27912791
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -2851,7 +2851,7 @@
28512851
\completionsig \tcode{void()}.
28522852

28532853
\pnum
2854-
\effects
2854+
\effects
28552855
\begin{itemize}
28562856
\item
28572857
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -2873,7 +2873,7 @@
28732873
\completionsig \tcode{void()}.
28742874

28752875
\pnum
2876-
\effects
2876+
\effects
28772877
\begin{itemize}
28782878
\item
28792879
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -2939,7 +2939,7 @@
29392939
\completionsig \tcode{void()}.
29402940

29412941
\pnum
2942-
\effects
2942+
\effects
29432943
\begin{itemize}
29442944
\item
29452945
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -2961,7 +2961,7 @@
29612961
\completionsig \tcode{void()}.
29622962

29632963
\pnum
2964-
\effects
2964+
\effects
29652965
\begin{itemize}
29662966
\item
29672967
Constructs an object \tcode{completion} of type \tcode{async_completion<CompletionToken, void()>}, initialized with \tcode{token}.
@@ -3161,7 +3161,7 @@
31613161
\effects Initializes \tcode{inner_ex_} as \tcode{inner_ex_(other.inner_ex_)}.
31623162

31633163
\pnum
3164-
\postconditions
3164+
\postconditions
31653165
\begin{itemize}
31663166
\item
31673167
\tcode{*this == other}
@@ -3179,7 +3179,7 @@
31793179
\effects Initializes \tcode{inner_ex_} as \tcode{inner_ex_(std::move(other.inner_ex_))}.
31803180

31813181
\pnum
3182-
\postconditions
3182+
\postconditions
31833183
\begin{itemize}
31843184
\item
31853185
\tcode{*this} is equal to the prior value of \tcode{other}
@@ -3232,7 +3232,7 @@
32323232
\requires \tcode{Executor} is \tcode{CopyAssignable} (\CppXref{copyassignable}).
32333233

32343234
\pnum
3235-
\postconditions
3235+
\postconditions
32363236
\begin{itemize}
32373237
\item
32383238
\tcode{*this == other}
@@ -3253,7 +3253,7 @@
32533253
\requires \tcode{Executor} is \tcode{MoveAssignable} (\CppXref{moveassignable}).
32543254

32553255
\pnum
3256-
\postconditions
3256+
\postconditions
32573257
\begin{itemize}
32583258
\item
32593259
\tcode{*this} is equal to the prior value of \tcode{other}

src/basicioservices.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
\requires Must not be called from a thread that is currently calling a run function.
146146

147147
\pnum
148-
\effects Equivalent to:
148+
\effects Equivalent to:
149149
\begin{codeblock}
150150
count_type n = 0;
151151
while (run_one())
@@ -166,7 +166,7 @@
166166

167167
\begin{itemdescr}
168168
\pnum
169-
\effects Equivalent to:
169+
\effects Equivalent to:
170170
\begin{codeblock}
171171
return run_until(chrono::steady_clock::now() + rel_time);
172172
\end{codeblock}
@@ -181,7 +181,7 @@
181181

182182
\begin{itemdescr}
183183
\pnum
184-
\effects Equivalent to:
184+
\effects Equivalent to:
185185
\begin{codeblock}
186186
count_type n = 0;
187187
while (run_one_until(abs_time))
@@ -224,7 +224,7 @@
224224

225225
\begin{itemdescr}
226226
\pnum
227-
\effects Equivalent to:
227+
\effects Equivalent to:
228228
\begin{codeblock}
229229
return run_one_until(chrono::steady_clock::now() + rel_time);
230230
\end{codeblock}
@@ -258,7 +258,7 @@
258258

259259
\begin{itemdescr}
260260
\pnum
261-
\effects Equivalent to:
261+
\effects Equivalent to:
262262
\begin{codeblock}
263263
count_type n = 0;
264264
while (poll_one())

src/buffers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@
929929

930930
\begin{itemdescr}
931931
\pnum
932-
\returns A \tcode{mutable_buffer} equivalent to
932+
\returns A \tcode{mutable_buffer} equivalent to
933933
\begin{codeblock}
934934
mutable_buffer(
935935
static_cast<char*>(b.data()) + min(n, b.size()),
@@ -945,7 +945,7 @@
945945

946946
\begin{itemdescr}
947947
\pnum
948-
\returns A \tcode{const_buffer} equivalent to
948+
\returns A \tcode{const_buffer} equivalent to
949949
\begin{codeblock}
950950
const_buffer(
951951
static_cast<const char*>(b.data()) + min(n, b.size()),
@@ -1047,7 +1047,7 @@
10471047

10481048
\begin{itemdescr}
10491049
\pnum
1050-
\returns
1050+
\returns
10511051
\begin{codeblock}
10521052
buffer(
10531053
begin(data) != end(data) ? std::addressof(*begin(data)) : nullptr,

src/cxx.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
\cxxsec{intro.compliance}{1.4}
2525
\cxxsec{intro.multithread}{1.10}
26-
26+
2727
\cxxsec{lex.key}{2.12}
2828

2929
\cxxsec{basic.def.odr}{3.2}
@@ -34,7 +34,7 @@
3434
\cxxsec{basic.compound}{3.9.2}
3535

3636
\cxxsec{conv}{4}
37-
37+
3838
\cxxsec{expr}{5}
3939
\cxxsec{expr.prim}{5.1}
4040
\cxxsec{expr.prim.general}{5.1.1}

src/internetprotocol.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@
767767

768768
\begin{itemdescr}
769769
\pnum
770-
\returns
770+
\returns
771771
\begin{itemize}
772772
\item
773773
if \tcode{a.is_v4() != b.is_v4()}, \tcode{false};
@@ -795,7 +795,7 @@
795795

796796
\begin{itemdescr}
797797
\pnum
798-
\returns
798+
\returns
799799
\begin{itemize}
800800
\item
801801
if \tcode{a.is_v4() \&\& !b.is_v4()}, \tcode{true};
@@ -854,7 +854,7 @@
854854

855855
\begin{itemdescr}
856856
\pnum
857-
\effects Converts a textual representation of an address into an object of class \tcode{address}, as if by calling:
857+
\effects Converts a textual representation of an address into an object of class \tcode{address}, as if by calling:
858858
\begin{codeblock}
859859
address a;
860860
address_v6 v6a = make_address_v6(str, ec);
@@ -1229,7 +1229,7 @@
12291229

12301230
\begin{itemdescr}
12311231
\pnum
1232-
\returns An \tcode{address_v4} object corresponding to the IPv4-mapped IPv6 address, as if computed by the following method:
1232+
\returns An \tcode{address_v4} object corresponding to the IPv4-mapped IPv6 address, as if computed by the following method:
12331233
\begin{codeblock}
12341234
address_v6::bytes_type v6b = a.to_bytes();
12351235
address_v4::bytes_type v4b(v6b[12], v6b[13], v6b[14], v6b[15]);
@@ -1477,7 +1477,7 @@
14771477

14781478
\begin{itemdescr}
14791479
\pnum
1480-
\returns A boolean indicating whether the \tcode{address_v6} object represents a multicast address, as if computed by the following method:
1480+
\returns A boolean indicating whether the \tcode{address_v6} object represents a multicast address, as if computed by the following method:
14811481
\begin{codeblock}
14821482
bytes_type b = to_bytes();
14831483
return b[0] == 0xFF;
@@ -1492,7 +1492,7 @@
14921492

14931493
\begin{itemdescr}
14941494
\pnum
1495-
\returns A boolean indicating whether the \tcode{address_v6} object represents a unicast link-local address, as if computed by the following method:
1495+
\returns A boolean indicating whether the \tcode{address_v6} object represents a unicast link-local address, as if computed by the following method:
14961496
\begin{codeblock}
14971497
bytes_type b = to_bytes();
14981498
return b[0] == 0xFE && (b[1] & 0xC0) == 0x80;
@@ -1507,7 +1507,7 @@
15071507

15081508
\begin{itemdescr}
15091509
\pnum
1510-
\returns A boolean indicating whether the \tcode{address_v6} object represents a unicast site-local address, as if computed by the following method:
1510+
\returns A boolean indicating whether the \tcode{address_v6} object represents a unicast site-local address, as if computed by the following method:
15111511
\begin{codeblock}
15121512
bytes_type b = to_bytes();
15131513
return b[0] == 0xFE && (b[1] & 0xC0) == 0xC0;
@@ -1522,7 +1522,7 @@
15221522

15231523
\begin{itemdescr}
15241524
\pnum
1525-
\returns A boolean indicating whether the \tcode{address_v6} object represents an IPv4-mapped IPv6 address, as if computed by the following method:
1525+
\returns A boolean indicating whether the \tcode{address_v6} object represents an IPv4-mapped IPv6 address, as if computed by the following method:
15261526
\begin{codeblock}
15271527
bytes_type b = to_bytes();
15281528
return b[ 0] == 0 && b[ 1] == 0 && b[ 2] == 0 && b[ 3] == 0
@@ -1716,7 +1716,7 @@
17161716

17171717
\begin{itemdescr}
17181718
\pnum
1719-
\returns An \tcode{address_v6} object containing the IPv4-mapped IPv6 address corresponding to the specified IPv4 address, as if computed by the following method:
1719+
\returns An \tcode{address_v6} object containing the IPv4-mapped IPv6 address corresponding to the specified IPv4 address, as if computed by the following method:
17201720
\begin{codeblock}
17211721
address_v4::bytes_type v4b = a.to_bytes();
17221722
address_v6::bytes_type v6b(0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -2715,7 +2715,7 @@
27152715
\requires \tcode{proto == protocol_type::v4() || proto == protocol_type::v6()}.
27162716

27172717
\pnum
2718-
\postconditions
2718+
\postconditions
27192719
\begin{itemize}
27202720
\item
27212721
If \tcode{proto == protocol_type::v6()}, \tcode{this->address() == ip::address_v6()}; otherwise, \tcode{this->address() == ip::address_v4()}.
@@ -2866,7 +2866,7 @@
28662866

28672867
\begin{itemdescr}
28682868
\pnum
2869-
\effects Outputs a representation of the endpoint to the stream, as if it were implemented as follows:
2869+
\effects Outputs a representation of the endpoint to the stream, as if it were implemented as follows:
28702870
\begin{codeblock}
28712871
basic_ostringstream<CharT, Traits> ss;
28722872
if (ep.protocol() == basic_endpoint<InternetProtocol>::protocol_type::v6())

src/macros.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
}
3737

3838
%%--------------------------------------------------
39-
%% Sectioning macros.
40-
% Each section has a depth, an automatically generated section
41-
% number, a name, and a short tag. The depth is an integer in
39+
%% Sectioning macros.
40+
% Each section has a depth, an automatically generated section
41+
% number, a name, and a short tag. The depth is an integer in
4242
% the range [0,5]. (If it proves necessary, it wouldn't take much
4343
% programming to raise the limit from 5 to something larger.)
4444

@@ -59,7 +59,7 @@
5959

6060
% A convenience feature (mostly for the convenience of the Project
6161
% Editor, to make it easy to move around large blocks of text):
62-
% the \rSec macro is just like the \Sec macro, except that depths
62+
% the \rSec macro is just like the \Sec macro, except that depths
6363
% relative to a global variable, SectionDepthBase. So, for example,
6464
% if SectionDepthBase is 1,
6565
% \rSec1[temp.arg.type]{Template type arguments}
@@ -84,7 +84,7 @@
8484
\newcommand{\indexgram}[1]{\index[grammarindex]{#1}}
8585

8686
% Collation helper: When building an index key, replace all macro definitions
87-
% in the key argument with a no-op for purposes of collation.
87+
% in the key argument with a no-op for purposes of collation.
8888
\newcommand{\nocode}[1]{#1}
8989
\newcommand{\idxmname}[1]{\_\_#1\_\_}
9090
\newcommand{\idxCpp}{C++}
@@ -313,8 +313,8 @@
313313
keepspaces=true,
314314
texcl=true}
315315

316-
% Our usual abbreviation for 'listings'. Comments are in
317-
% italics. Arbitrary TeX commands can be used if they're
316+
% Our usual abbreviation for 'listings'. Comments are in
317+
% italics. Arbitrary TeX commands can be used if they're
318318
% surrounded by @ signs.
319319
\newcommand{\CodeBlockSetup}{
320320
\lstset{escapechar=@}

0 commit comments

Comments
 (0)