Title
num_put::do_put(..., bool) performs ill-formed do_put call
Status
new
Section
[facet.num.put.virtuals]
Submitter
Hubert Tong

Created on 2016-05-07.00:00:00 last changed 105 months ago

Messages

Date: 2016-05-07.00:00:00

The call to do_put(out, str, fill, (int)val) in N4582 subclause [facet.num.put.virtuals] paragraph 6 cannot select a best viable function in overload resolution given the overloads listed for do_put in [locale.nm.put].

There is implementation divergence:

  • Some implementations call the long overload (as overriden);

  • some implementations call the unsigned long overload (as overriden);

  • some implementations call something else.

It appears that the resolution to DR 359 attempted a fix; however, the relevant portion of the change was not applied to the WP.

History
Date User Action Args
2016-05-07 00:00:00admincreate