Problem porting boost 1.33.1 programm to boost 1.42.0

Posted by Volker Beyer on Stack Overflow See other posts from Stack Overflow or by Volker Beyer
Published on 2010-04-16T10:55:37Z Indexed on 2010/04/16 11:13 UTC
Read the original article Hit count: 246

Filed under:
|

i've got a variable:

boost::program_options::options_description m_corbaDesc;

and the following is done with it

m_corbaDesc.add_options()
    ("corba", boost::programm_options::parameter("<options+>", &m_corbaOptions), "CORBA -ORBInitRef options")
    ("corba-ns", boost::program_options::parameter("<name:port>", &m_corbaNameService), "simple-type CORBA NameService").default_value("localhost:12345")
    ;

this works in boost boost 1.33.1 but not in 1.42.0.

What would it be in 1.42.0?

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost