22 Dec
2019
22 Dec
'19
10:09 p.m.
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 templates. 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).