
15 May
2010
15 May
'10
4:23 a.m.
DE-11 wrote:
it's better to use
type encode(const type &src);
instead of
void encode(const type &src, type &dest);
such that the use case becomes
std::string enc = encode(pure);
You are right, but what if length of enc is 1000000 symbols or more? Copying (in return operation) will be expensive. -- View this message in context: http://old.nabble.com/Library-for-base64-tp28561821p28566205.html Sent from the Boost - Dev mailing list archive at Nabble.com.