This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

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

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

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.

Discussion:

The call to do_put(out, str, fill, (int)val) in N4582 subclause 30.4.3.3.3 [facet.num.put.virtuals] paragraph 6 cannot select a best viable function in overload resolution given the overloads listed for do_put in 30.4.3.3 [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: