$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 18:54:08
> Incoming book "How to code with C++0x and not commit suicide" will
> have to contain advise "When you bind, ensure that function signature
> have no pointers; otherwise you are in trouble".
c_str() shouldn't be used outside the expression it's part of. This
issue is unrelated either to bind or to C++0x. On the contrary,
c_str() is a "bridge" from C++ to old plain C.