All users were logged out of Bugzilla on October 13th, 2018

Remove mozilla::DeclVal since std::declval is now safe to use

NEW
Unassigned

Status

()

2 years ago
2 years ago

People

(Reporter: seth, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
It looks like we're relying on std::declval in existing code, e.g. in Skia:

https://dxr.mozilla.org/mozilla-central/source/gfx/skia/skia/src/animator/SkMemberInfo.h#115

I suspect this means that we're at the point where mozilla::DeclVal is redundant. Let's remove it and switch existing users over to std::declval.
You need to log in before you can comment on or make changes to this bug.