Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost] [program options] Recommended way to specify a list of strings
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-12-23 01:04:19

Sanjit Jhala wrote:

> How would I specify an empty vector of strings as the default value for this
> option?
> po::value< vector<string> >()->default_value(??)

Use vector<string>() as the default value.

- Volodya

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at