>>code fragments  such as:
>>line 95-96 of archive.cpp seem unacceptable to me:
>>
>>// note breaking a rule here - is this a problem on some platform
>>is.read(const_cast<char *>(s.data()), size);
>
>Although is non standard I believe that the above code will work on all
known platforms.
>It yields an improvement significant improvement in efficiency ( I believe)
without
>any known detrimental effects.  Perhaps I should leave the provably
portable
>code as a comment.

Isn't the following more acceptable:

is.read(&(s[0]), size);

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

Reply via email to