$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Bind] Unexpected behavior when binding const char* to function
From: Igor R (boost.lists_at_[hidden])
Date: 2010-04-27 14:06:14
> I know reason behind. But use is right to think "I've bind >>abc<<.
> Binder should store it and use on f() invocation".
Note tht you do not bind c_str member function, but the *result* it
produces. The result is *invalid* after the std::string changes --
according to the Standard (IIRC).
If you wish to bind c_str and invoke it in a "lazy" manner - you can
do this as well.