File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sycl/doc/extensions/supported Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class T {
139
139
140
140
// Enabled only when propertyT is a run time property
141
141
template<typename propertyT>
142
- bool has_property() const;
142
+ bool has_property() const noexcept ;
143
143
144
144
// Enabled only when propertyT is a compile time property
145
145
template<typename propertyT>
@@ -228,7 +228,7 @@ Replace Table 4.6: Common member functions of the SYCL property interface with t
228
228
a|
229
229
```c++
230
230
template<typename propertyT>
231
- bool has_property() const;
231
+ bool has_property() const noexcept ;
232
232
``` | Returns true if T was constructed with the property specified by propertyT. Returns false if it was not.
233
233
Available only if propertyT is not a compile-time-constant property.
234
234
a|
@@ -495,4 +495,5 @@ NOTE: The constructors for no_offset and no_alias are unspecified as users must
495
495
|1|2020-06-18|Joe Garvey|Initial public draft
496
496
|2|2020-09-08|Joe Garvey|Rewrote as a vendor extension in the ONEAPI namespace.
497
497
|3|2021-01-28|Jessica Davies|Modify semantics of no_alias
498
+ |4|2022-08-23|Nikita Kornev|Add noexcept specifier to has_property() for non compile-time-constant properties
498
499
|========================================
You can’t perform that action at this time.
0 commit comments