Boost logo

Boost Users :

Subject: Re: [Boost-users] commandline args
From: Diederick C. Niehorster (dcnieho_at_[hidden])
Date: 2009-08-24 00:42:55


> Er, do this I mean (adding spacing to help clarify things for you to):
> bk::generate(ostream_iterator<char>(cout),
>  "Command line options not recognized:\n" <<
>  ("  \"" << ba::string << '\"') % bk::eol
>  ,vsUnrecog);
>
> To describe it, it first prints out a string, then the % operator has
> two part, the left side ('\"' << ba::string << '\"'), and the right
> bk::eol, meaning that the left side is run for each element in a list
> separated by returns.

Hi OvermindL1,

That is indeed exactly what I'm looking for, please also see my reply
to your previous message.
I want to enclose every item in the list with quotes and print them on
separate lines.

Best,
Diederick


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