
27 Apr
2010
27 Apr
'10
10:54 p.m.
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.