|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-01-07 02:42:49
"Beman Dawes" <bdawes_at_[hidden]> wrote in message
news:6.0.3.0.2.20050106200941.03e785f0_at_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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk