Boost logo

Boost Users :

Subject: Re: [Boost-users] [program_options] How to use "notifier" in options_description with member functions?
From: Carlos Franke (carlos_franke_at_[hidden])
Date: 2010-10-25 05:30:18


> ("option", po::value<int>()->notifier(
> boost::bind(&test::function, this, _1)), "Option")

Thanks, that is what I was looking for.

Carlos




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