Просмотр исходного кода
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]