$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Library for base64
From: deninok (shev.denis_at_[hidden])
Date: 2010-05-15 00:23:54
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.