Boost::function & boost::lambda again?

I think that, for this case, you would want to use boost. Bind instead of boost.lambda. Part of the problem is that boost::io::group is a function template that takes and returns a variable number of objects, making it difficult to create the appropriate signature for the function declaration.

I would create a string formatting function with a simple signature and then use boost. Bind to create a specific formatting functor from that. I.e.

You should check the documentation of Boost. Lambda again and see what it is capable of and what not. For example, since the dot operator is not overloadable you can't invoke a member function like str() on a lambda expression like that.

You need to use bind for this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions