1#ifndef _BBM_ATTRIBUTE_VALUE_H_
2#define _BBM_ATTRIBUTE_VALUE_H_
29 template<
typename T>
struct attribute_value {
using type = T; };
31 struct attribute_value<T>
33 using type =
typename std::decay_t<T>::type;
attribute concept
Definition: attribute.h:39
attribute and attribute_property contracts
Definition: aggregatebsdf.h:29
bbm::detail::attribute_value< std::decay_t< T > >::type attribute_value_t
return the type of value(t)
Definition: attribute_value.h:41
decltype(auto) value(T &&t)
return the value of an attribute, or if not an attribute the object
Definition: attribute_value.h:20