HomePhabricator

[libc++][span] SFINAE span default constructor on Extent == 0

Authored by miscco on May 14 2020, 6:28 AM.

Description

[libc++][span] SFINAE span default constructor on Extent == 0

The default constructor of a static span requires _Extent == 0 so
SFINAE it out rather than using a static_assert

Differential Revision: https://reviews.llvm.org/D71994

Details

Committed
ldionneMay 14 2020, 6:35 AM
Differential Revision
D71994: SFINAE span default constructor on Extent == 0
Parents
rGd061685a8304: [analyzer] Make NonNullParamChecker as dependency for…
Branches
Unknown
Tags
Unknown