17.07.2012 19:30, Adriano dos Santos Fernandes wrote:
>
> AFAIR, currently, temporary strings cannot be passed
> to Arg::Str because they disappear

-- commenting about v2.5, but I don't think there's much difference

I believe this is not the case, because all former ERR_string() calls 
disappeared in favor of plain Arg::Str() but the engine does not crash 
:-) As far as I understand, the StatusVector instance does not copy the 
input strings, instead they are copied when the exception is raised (its 
instance is created). So exceptions in fact work like you suggest.


Dmitry

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to