Boost logo

Boost :

From: Rex_Jolliff_at_[hidden]
Date: 2002-04-04 15:31:26


Perhaps this is a silly question, but are you returning a std::string or a
reference to a
string. If you are returning a reference, do not.

Yakov Bachmutsky <yakov_b_at_[hidden]>@lists.boost.org on 04/04/2002 05:30:54
AM

Please respond to boost_at_[hidden]

Sent by: boost-admin_at_[hidden]

To: boost_at_[hidden]
cc:

Subject: [boost] std::string humble question
                                       Federal Record Status Not Determined

Hi

In the last few days had few exceptions in returning std::string from a
function.
Shouldn't it be safe ?
Anyone had ideas where the exceptions come from ?

TIA
Yakov

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk