Update of /cvsroot/boost/boost/libs/program_options/src
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12603/libs/program_options/src
Modified Files:
value_semantic.cpp
Log Message:
Clarify comment
Index: value_semantic.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/program_options/src/value_semantic.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- value_semantic.cpp 24 Apr 2006 08:25:12 -0000 1.18
+++ value_semantic.cpp 11 Jul 2007 19:37:51 -0000 1.19
@@ -122,8 +122,8 @@
/* Validates bool value.
Any of "1", "true", "yes", "on" will be converted to "1".<br>
Any of "0", "false", "no", "off" will be converted to "0".<br>
- Case is ignored. Regardless of name passed, parameter will always
- be optional.
+ Case is ignored. The 'xs' vector can either be empty, in which
+ case the value is 'true', or can contain explicit value.
*/
BOOST_PROGRAM_OPTIONS_DECL void validate(any& v, const vector<string>& xs,
bool*, int)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs