Title
Incorrect example for constrained overload resolution
Status
concepts
Section
_N2914_.14.11.4 [temp.constrained.inst]
Submitter
Daniel Krügler

Created on 2009-05-08.00:00:00 last changed 187 months ago

Messages

Date: 2009-11-08.00:00:00

The example in _N2914_.14.11.4 [temp.constrained.inst] paragraph 4 is ill-formed. The call to advance(i, 1) in f attempts to pass 1 to a parameter declared as Iter::difference_type, but there is nothing that says that int is compatible with Iter::difference_type.

History
Date User Action Args
2009-08-03 00:00:00adminsetstatus: open -> concepts
2009-05-08 00:00:00admincreate