File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
include/boost/program_options Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,11 @@ namespace boost { namespace program_options {
190
190
Read from file with the given name. The character type is
191
191
passed to the file stream.
192
192
*/
193
+ #ifdef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
193
194
template <class charT >
195
+ #else
196
+ template <class charT = char >
197
+ #endif
194
198
#if ! BOOST_WORKAROUND(__ICL, BOOST_TESTED_AT(700))
195
199
BOOST_PROGRAM_OPTIONS_DECL
196
200
#endif
Original file line number Diff line number Diff line change @@ -140,7 +140,11 @@ namespace boost { namespace program_options {
140
140
bool allow_unregistered);
141
141
#endif
142
142
143
+ #ifdef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
143
144
template <class charT >
145
+ #else
146
+ template <class charT = char >
147
+ #endif
144
148
basic_parsed_options<charT>
145
149
parse_config_file (const char * filename,
146
150
const options_description& desc,
You can’t perform that action at this time.
0 commit comments