Empirical
Public Types | Static Public Member Functions | List of all members
emp::tools::__impl_has_attr::has_attribute< Pack, Attr > Struct Template Reference

#include <attrs.h>

Public Types

using type = decltype(HasAttr(std::declval< Pack >()))
 

Static Public Member Functions

template<typename T >
static constexpr std::true_type HasAttr (const typename Attr::template value_t< T > &)
 
static constexpr std::false_type HasAttr (...)
 

Member Typedef Documentation

template<typename Pack, typename Attr>
using emp::tools::__impl_has_attr::has_attribute< Pack, Attr >::type = decltype(HasAttr(std::declval<Pack>()))

Member Function Documentation

template<typename Pack, typename Attr>
template<typename T >
static constexpr std::true_type emp::tools::__impl_has_attr::has_attribute< Pack, Attr >::HasAttr ( const typename Attr::template value_t< T > &  )
inlinestatic
template<typename Pack, typename Attr>
static constexpr std::false_type emp::tools::__impl_has_attr::has_attribute< Pack, Attr >::HasAttr (   ...)
inlinestatic

The documentation for this struct was generated from the following file: