Boost logo

Boost :

From: Gavin Lambert (boost_at_[hidden])
Date: 2019-12-22 22:09:02

On 21/12/2019 12:04, Vinnie Falco wrote:
> On Sun, Dec 15, 2019 at 12:53 PM Joaquin M López Muñoz wrote:
>> 10. to_fixed_string should be a set of overloads
>> mathing those of std::string.
> What's wrong with one or two function templates constrained on say,
> integers and floating point numbers?

For one, a set of overloads should compile much faster than SFINAE

It's also less prone to forgetting that bool is an integer type (and in
this context we probably don't want it to be).

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