Boost logo

Boost Users :

From: Memfis (memfis+news_at_[hidden])
Date: 2006-12-08 15:06:20


Peter Dimov wrote:
>> I am trying to achieve this with format and bind, but without much
>> luck. What I came up with is the following:
>> source.connect(bind(ref(target),
>> bind(&format::str,
>> bind(&format::operator%,
>> format("the value is %1"), _1)));
>
> Your format string throws an exception for me. Perhaps you need to use %1%?

Argh. I made a typo while editing the post. I use %1% of course. But it
still doesn't work.

-- 
Memfis

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