![]() |
Home | Libraries | People | FAQ | More |
Invokes a visitor function on each Property.
template< typename Func, std::enable_if_t< is_visitor< Func >::value, bool > = true> constexpr bool visit( Func&& func) noexcept(is_nothrow_visitor< Func >::value);
This function iterates over Properties and invokes the provided function on each Property, passing both the compile-time constant Property ID and its value. The visitor function should return a boolean value that determines whether iteration continues.
|
Name |
Description |
|---|---|
|
|
The visitor function to invoke. It must accept two arguments: a Property ID and the corresponding Property value. |
true if the visitor function
returns true for all Properties,
false otherwise.