
"Beman Dawes" <bdawes@acm.org> wrote in message news:6.0.3.0.2.20050106200941.03e785f0@mailhost.esva.net... | At 04:04 PM 1/5/2005, Thorsten Ottosen wrote: | >| void to_bytes(byte_string & destination, | >| wide_string const & source) const; | > | >I would prefer these to be free-standing functions. | >Was there something that prohibited that? | | No. I was just following the pattern set by the proposal. I'm not sure how | the LWG feels about that; I'll add a mention of the issue so they can | decide. Would you care to add a short rationale? | | Thanks for the comment, well, its an algorithm, right? All the algorithms in <algorithm> are free-standing functions. In some sense, we might need both. The class interface could be used under the hood to provide the function interface. -Thorsten