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