Просмотр исходного кода

Unroll 'make parse_command_line' const-correct patch, because it causes too
much troubles. Basically, consider;

char* cmdline3_[1] = {};

template<class charT>
void func(const charT* const argv[]) {}

int main()
{
func(cmdline3_);
char** p = cmdline3_;
func(p);
}

EDG compilers can't deduce template argument in the first call. See
http://thread.gmane.org/gmane.comp.lib.boost.devel/125396 for details.
Some other compilers (borland, vc 7.0) see to be have this issue too.


[SVN r29615]

Vladimir Prus 21 лет назад
Родитель
Сommit
b1c6c904ed
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libs/program_options

+ 1 - 1
libs/program_options

@@ -1 +1 @@
-Subproject commit 5af27a78e73b4f55786b37dcaf263262c583af50
+Subproject commit a78a1f0d7652ab04fa63325d5e3c99b646147d77

粤ICP备19079148号