Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-28 08:04:53


On Monday 28 August 2006 15:49, you wrote:
> Hello,

Hi,
please send all Boost questions to some mailing list, not in private.

>
> in your tutorial for program_options at the boost site you talk about
> the method allow_unregistered() lite this:
>
> parsed_options parsed =
> command_line_parser(argv,
> argc).options(desc).allow_unregistered().run();
>
>
> However, I'm using boost 1.33 and the command_line_parser class uses
> private inheritence from the detail::cmdline class, which makes the
> allow_unregistered() method unavailable for public use. What is the
> deal?

That's a bug in 1.33. The operation of allow_unregistered was unit-tested, but
since unit test used detail::cmdline directly, the fact that the method is
not accessible in command_line_parser went undetected. I believe it's fixed
in CVS.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net