boost::simd::as_logical< T > Struct Template Reference


template<typename T>
struct boost::simd::as_logical< T >

Convert type to its logical type counterpart.

For a given type T , provides a type of same structure but able to store a logical value. Provisions are taken so that conversion of logical and bool types is idempotent.

Template Parameters
TType to convert

Inherits boost::simd::detail::as_logical< real_of_t< T >, dispatch::factory_of< T, dispatch::scalar_of_t< T > > >.