Boost logo

Boost :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2004-06-17 07:00:34


Vladimir Prus wrote:
[...]
> I have only one question: why do we need the following:
>
> - to_internal(detail::make_vector(argv+1, argv+argc)))
> + to_internal(detail::make_vector<charT, charT**>(argv+1,
argv+argc)))
>
> Is it a bug in mingw's gcc?

I've got errors like:

D:/sources/boost/boost/program_options/detail/parsers.hpp: In constructor
`boost::program_options::basic_command_line_parser<charT>::basic_command_lin
e_parser(int, charT**) [with charT = char]':
../../../libs/program_options/example/multiple_sources.cpp:72:
instantiated from here
D:/sources/boost/boost/program_options/detail/parsers.hpp:40: error: no
matching function for call to `make_vector(char**, char**)'

Regards,
Janusz


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk