Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: David Abrahams (dave_at_[hidden])
Date: 2009-02-17 15:24:40

on Tue Feb 17 2009, Emil Dotchevski <> wrote:

> For example, to_string<int>(s) could also be written as
> convert<int>(s).

Probably just a slip of the mind, but:

  to_string doesn't need a template parameter. Explicitly
  writing to_string<int>(s) is probably a bad idea and convert<int> would
  correspond to from_string<int>(s).

However, maybe we ought to ask why this keeps happening. I think
there's something about the convert<...>(...) interface that confuses
people. Eliminating directionality might not be such a hot idea.

Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at