
28 Jun
2005
28 Jun
'05
2:27 a.m.
"Peter Dimov" <pdimov@mmltd.net> writes:
David Abrahams wrote:
"Peter Dimov" <pdimov@mmltd.net> writes:
If you are given an archive you don't know whether you are allowed to save by value, or whether you can safely save by pointer.
(In general.)
Yeah, but what's the use case for this? Someone you don't know hands you an archive and tells you to save something in it without telling you how it's safe to do so?
Yep, that's pretty much what happens every time your 'save' function is invoked.
Then it's almost impossible to write a reliable save function. How is the exception going to help? -- Dave Abrahams Boost Consulting www.boost-consulting.com