File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
sycl/include/sycl/ext/oneapi Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -194,19 +194,19 @@ class accessor_property_list : protected sycl::detail::PropertyListBase {
194
194
}
195
195
196
196
#if __cplusplus >= 201703L
197
- template <typename T>
198
- static constexpr std::enable_if_t <is_compile_time_property<T>::value, bool >
199
- has_property () {
197
+ template <typename T,
198
+ typename = std::enable_if_t <is_compile_time_property<T>::value> >
199
+ static constexpr bool has_property () {
200
200
return ContainsPropertyInstance<PropertyContainer<PropsT...>,
201
201
T::template instance>::value;
202
202
}
203
203
204
- template <typename T,
205
- typename = std:: enable_if_t <
206
- is_compile_time_property<T>::value &&
207
- ContainsPropertyInstance<PropertyContainer<PropsT...>,
208
- T:: template instance>::value>>
209
- static constexpr auto get_property ( ) {
204
+ template <typename T>
205
+ static constexpr auto get_property (
206
+ typename std:: enable_if_t <
207
+ is_compile_time_property<T>::value &&
208
+ ContainsPropertyInstance<PropertyContainer<PropsT...>,
209
+ T:: template instance>::value> * = 0 ) {
210
210
return typename GetCompileTimePropertyHelper<PropertyContainer<PropsT...>,
211
211
T::template instance>::type{};
212
212
}
You can’t perform that action at this time.
0 commit comments