Boost Users :
Subject: [Boost-users] program_option parsing error
From: Marek Skalický (mskalick_at_[hidden])
Date: 2015-09-23 09:41:47
I have a question about program_option library.
If I have argv=["binaryname", "--port", "5"] and port have set
default_value=6 and implicit_value=7 what should be the value of port
after parsing argv?
I am asking because this test
https://github.com/mongodb/mongo/blob/0481c958daeb2969800511e7475dc66986fa9ed5/src/mongo/util/options_parser/options_parser_test.cpp#L753 is failing with boost 1.59 (with boost 1.58 it is passing). Does someone please know what changed in this new version?
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