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.

3223. lerp should not add the "sufficient additional overloads"

Section: 28.7.1 [cmath.syn] Status: New Submitter: Billy O'Neal III Opened: 2019-06-20 Last modified: 2019-08-26

Priority: 2

View other active issues in [cmath.syn].

View all other issues in [cmath.syn].

View all issues with New status.


It seems that lerp can't give a sensible answer for integer inputs. It's new machinery, not the legacy C stuff extended with extra overloads.

I would prefer to fix this by explicitly annotating the functions that are supposed to get additional overloads because we keep getting this wrong, but we could also exempt lerp in 28.7.1 [cmath.syn] p2.

[2019-07 Issue Prioritization]

Priority to 2 after discussion on the reflector.

Proposed resolution: