Jesse Haber-Kucharsky
bbe09a4793
enum_set: Throw on bad mask
...
`super_enum::valid_is_valid_sequence` determines if the numeric index
corresponding to an enumeration value is valid. This is important,
because it is undefined behavior to cast an invalid index into an
enumeration value.
This function is used to check the validity of the `enum_set` mask when
an `enum_set` is constructed in `enum_set::from_mask`. If the mask has
set bits that correspond to invalid enumeration indicies, then we throw
`bad_enum_set_mask`.
2018-02-14 14:15:59 -05:00
..
2018-02-12 12:25:21 +00:00
2015-10-08 20:57:20 +03:00
2017-11-23 16:45:54 +00:00
2018-01-14 13:17:09 +01:00
2016-10-26 08:51:21 +03:00
2016-10-26 08:51:21 +03:00
2018-02-14 14:15:59 -05:00
2018-02-14 14:15:58 -05:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2016-10-26 08:51:21 +03:00
2018-01-24 20:54:45 +01:00
2017-12-04 17:42:23 -08:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-21 19:09:03 +01:00
2018-01-31 11:34:08 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-03 12:20:34 +00:00
2017-12-08 13:38:13 -05:00
2018-02-06 12:10:10 +02:00
2017-11-27 20:27:42 +01:00
2018-01-21 12:58:42 +02:00
2017-05-21 12:26:15 +03:00
2017-05-21 12:26:15 +03:00
2018-02-12 18:49:34 +00:00
2018-02-14 14:15:57 -05:00
2018-02-14 14:15:58 -05:00
2017-12-12 12:03:01 -05:00
2017-12-08 10:12:21 -05:00
2018-02-01 00:22:50 +00:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-02-14 14:15:59 -05:00
2017-11-28 12:38:28 +01:00
2018-01-24 20:54:44 +01:00
2018-02-12 12:25:21 +00:00
2017-11-27 20:27:42 +01:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-18 15:37:19 +02:00
2017-11-27 20:27:42 +01:00
2016-10-26 08:51:21 +03:00
2017-11-27 20:27:42 +01:00
2017-12-11 15:04:26 +02:00
2017-09-18 12:44:05 +02:00
2018-01-16 13:17:20 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-08-28 21:00:06 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-02-01 00:22:50 +00:00
2017-12-21 11:47:07 +01:00
2018-02-08 18:24:58 +02:00
2017-11-27 20:27:42 +01:00
2016-10-26 08:51:21 +03:00
2018-01-24 20:56:48 +01:00
2017-12-01 10:52:37 +01:00
2018-02-05 12:29:03 +00:00
2018-01-21 12:58:42 +02:00
2018-02-01 13:53:55 +01:00
2018-01-24 20:56:48 +01:00
2017-12-22 11:06:33 +01:00
2018-02-01 01:02:50 +00:00
2018-02-08 18:24:58 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2016-04-08 08:12:47 +03:00
2017-11-27 20:27:42 +01:00
2017-11-07 15:33:24 +01:00
2018-02-05 12:31:37 +00:00
2016-04-08 12:13:29 +03:00
2016-04-08 12:13:29 +03:00
2018-02-14 14:15:58 -05:00
2018-01-24 20:54:45 +01:00
2018-01-24 20:54:45 +01:00
2018-02-08 18:24:58 +02:00
2018-01-30 16:19:43 +02:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-24 20:56:49 +01:00
2017-11-27 20:27:42 +01:00
2018-01-29 11:57:15 -08:00
2018-02-12 12:25:21 +00:00
2018-02-11 17:53:08 +00:00
2018-01-24 20:56:48 +01:00
2018-01-29 11:57:15 -08:00
2018-02-11 17:53:08 +00:00
2018-01-24 20:56:48 +01:00
2018-01-17 12:17:17 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-15 23:22:42 -05:00
2017-11-27 20:27:42 +01:00
2017-07-16 11:55:08 +02:00
2017-05-22 19:30:02 +02:00
2017-11-27 20:27:42 +01:00
2017-02-22 09:19:22 +00:00
2017-12-21 00:49:15 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00