2702. num_put::do_put(..., bool) performs ill-formed do_put call

Section: [facet.num.put.virtuals] Status: New Submitter: Hubert Tong Opened: 2016-05-07 Last modified: 2016-05-22 15:38:38 UTC

Priority: 3

View other active issues in [facet.num.put.virtuals].

View all other issues in [facet.num.put.virtuals].

View all issues with New status.


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:

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

Proposed resolution: