Christopher Smith on Mon, 22 Mar 2004 16:53:34 -0600 (CST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] copy_if?


On Mon, 2004-03-22 at 09:34, cp wrote:
> Did you perhaps compile with --do-what-i-mean?

So, I encourage everyone to try this out. Here's the relevant pseudo
code that' its using it:

string::size_type aLength;
vector<string> temp;
//initialize temp
//...
//initialize aLength
//
copy_if(temp.begin(), temp.end(),
	ostream_iterator<string>(cout, "\n"),
	boost::bind(matchLength, _1, aLength);

--Chris
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp