[pkg-boost-devel] Bug#335613: libboost-doc: [program_options] wrong example

LI Daobing lidaobing at gmail.com
Mon Oct 24 23:50:11 UTC 2005


Package: libboost-doc
Version: 1.33.0-2
Severity: normal

Package: libboost-doc
Version: 1.33.0-2
Severity: normal

In [1], Section `Positional Options', the last example [2] doesn't work.
positional_options_description::add return void, and it has no
add_optional method;

[1]
http://127.0.0.1/doc/libboost-doc/HTML/doc/html/program_options/overview.html

[2]
positional_options_description pd;
pd.add("output-file", 2).add_optional("input-file", -1);

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)

-- no debconf information




More information about the pkg-boost-devel mailing list