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 {
190190 Read from file with the given name. The character type is
191191 passed to the file stream.
192192 */
193+ #ifdef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
193194 template <class charT >
195+ #else
196+ template <class charT = char >
197+ #endif
194198#if ! BOOST_WORKAROUND(__ICL, BOOST_TESTED_AT(700))
195199 BOOST_PROGRAM_OPTIONS_DECL
196200#endif
Original file line number Diff line number Diff line change @@ -140,7 +140,11 @@ namespace boost { namespace program_options {
140140 bool allow_unregistered);
141141#endif
142142
143+ #ifdef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
143144 template <class charT >
145+ #else
146+ template <class charT = char >
147+ #endif
144148 basic_parsed_options<charT>
145149 parse_config_file (const char * filename,
146150 const options_description& desc,
You can’t perform that action at this time.
0 commit comments