diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-12-05 12:59:10 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-12-06 06:30:55 +0100 |
commit | 21425c05e0a91a2b16503958bbf0201c108df967 (patch) | |
tree | 7d2cd32d337b97a9aca24e523daf5e252fd0a027 /examples/widgets/itemviews/editabletreemodel/main.cpp | |
parent | 3a449bbb69c9a3c3a5bc6a052f2de98ab79be7e9 (diff) |
Add a centralized dependent_false type
The main use case is to static_assert on it at the end of a
if constexpr / else if constexpr chain.
See P2593 for a discussion about why this is pretty much the
only "allowed" way of doing so, short of running into IFNDR.
I'm actually adding two versions: one for TTP and one for NTTP,
as Qt code uses both.
Apply it in QFlatMap.
Change-Id: Iaff97e350784683d0c3994020b1352d5188931d6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/itemviews/editabletreemodel/main.cpp')
0 files changed, 0 insertions, 0 deletions