|
|
@@ -389,7 +389,8 @@ class basic_view<get_t<Get...>, exclude_t<Exclude...>>: public basic_common_view
|
|
|
template<typename Type>
|
|
|
static constexpr std::size_t index_of = type_list_index_v<std::remove_const_t<Type>, type_list<typename Get::element_type..., typename Exclude::element_type...>>;
|
|
|
|
|
|
- static constexpr bool tombstone_check_required = ((sizeof...(Get) == 1u) && ... && (Get::storage_policy == deletion_policy::in_place));
|
|
|
+ // yet another workaround for an issue with the toolset v141 that doesn't accept a plain fold expression here
|
|
|
+ static constexpr bool tombstone_check_required = std::bool_constant<((sizeof...(Get) == 1u) && ... && (Get::storage_policy == deletion_policy::in_place))>::value;
|
|
|
|
|
|
template<std::size_t... Index>
|
|
|
auto get(const typename base_type::entity_type entt, std::index_sequence<Index...>) const noexcept {
|