File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
282282
283283// calculate mutual exclusivity
284284template <typename ... Content> constexpr size_t calculate_size_of_first (ctre::negative_set<Content...>) {
285- return 1 + 1 * sizeof ...(Content );
285+ return 1 + calculate_size_of_first (ctre::set<Content ...>{} );
286286}
287287
288288template <auto ... V> constexpr size_t calculate_size_of_first (ctre::enumeration<V...>) {
Original file line number Diff line number Diff line change @@ -3722,7 +3722,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
37223722
37233723// calculate mutual exclusivity
37243724template <typename... Content> constexpr size_t calculate_size_of_first(ctre::negative_set<Content...>) {
3725- return 1 + 1 * sizeof ...(Content );
3725+ return 1 + calculate_size_of_first(ctre::set<Content ...>{} );
37263726}
37273727
37283728template <auto... V> constexpr size_t calculate_size_of_first(ctre::enumeration<V...>) {
Original file line number Diff line number Diff line change @@ -3719,7 +3719,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
37193719
37203720// calculate mutual exclusivity
37213721template <typename ... Content> constexpr size_t calculate_size_of_first (ctre::negative_set<Content...>) {
3722- return 1 + 1 * sizeof ...(Content );
3722+ return 1 + calculate_size_of_first (ctre::set<Content ...>{} );
37233723}
37243724
37253725template <auto ... V> constexpr size_t calculate_size_of_first (ctre::enumeration<V...>) {
You can’t perform that action at this time.
0 commit comments