File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
include/boost/program_options Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace boost {
12
12
13
13
/* * The 'eof_iterator' class is useful for constructing forward iterators
14
14
in cases where iterator extract data from some source and it's easy
15
- to detect 'eof' -- i.e. the situation where there's no data. One
15
+ to detect 'eof' \ -- i.e. the situation where there's no data. One
16
16
apparent example is reading lines from a file.
17
17
18
18
Implementing such iterators using 'iterator_facade' directly would
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace boost { namespace program_options {
15
15
16
16
/* * Option found in input source.
17
17
Contains a key and a value. The key, in turn, can be a string (name of
18
- an option), or an integer (position in input source) -- in case no name
18
+ an option), or an integer (position in input source) \ -- in case no name
19
19
is specified. The latter is only possible for command line.
20
20
The template parameter specifies the type of char used for storing the
21
21
option's value.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ namespace program_options {
41
41
are used only to validate input. Second affect interpretation of the
42
42
option, for example default value for it or function that should be
43
43
called when the value is finally known. Routines which perform parsing
44
- never use second kind of properties -- they are side effect free.
44
+ never use second kind of properties \ -- they are side effect free.
45
45
@sa options_description
46
46
*/
47
47
class BOOST_PROGRAM_OPTIONS_DECL option_description {
@@ -71,7 +71,7 @@ namespace program_options {
71
71
The 'name' parameter is interpreted by the following rules:
72
72
- if there's no "," character in 'name', it specifies long name
73
73
- otherwise, the part before "," specifies long name and the part
74
- after -- short name.
74
+ after \ -- short name.
75
75
*/
76
76
option_description (const char * name,
77
77
const value_semantic* s);
Original file line number Diff line number Diff line change @@ -101,14 +101,14 @@ namespace boost { namespace program_options {
101
101
102
102
The class allows one to specify all the information needed for parsing
103
103
and to parse the command line. It is primarily needed to
104
- emulate named function parameters -- a regular function with 5
104
+ emulate named function parameters \ -- a regular function with 5
105
105
parameters will be hard to use and creating overloads with a smaller
106
106
number of parameters will be confusing.
107
107
108
108
For the most common case, the function parse_command_line is a better
109
109
alternative.
110
110
111
- There are two typedefs -- command_line_parser and wcommand_line_parser,
111
+ There are two typedefs \ -- command_line_parser and wcommand_line_parser,
112
112
for charT == char and charT == wchar_t cases.
113
113
*/
114
114
template <class charT >
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ namespace boost { namespace program_options {
164
164
which does 'find' in *this. */
165
165
const variable_value& get (const std::string& name) const ;
166
166
167
- /* * Names of option with 'final' values -- which should not
167
+ /* * Names of option with 'final' values \ -- which should not
168
168
be changed by subsequence assignments. */
169
169
std::set<std::string> m_final;
170
170
You can’t perform that action at this time.
0 commit comments