TiledArray::detail::has_conversion_operator< From, To, Enabler > Struct Template Reference
Inheritance diagram for TiledArray::detail::has_conversion_operator< From, To, Enabler >:
Collaboration diagram for TiledArray::detail::has_conversion_operator< From, To, Enabler >:
Documentation
template<typename From, typename To, typename Enabler = void>
struct TiledArray::detail::has_conversion_operator< From, To, Enabler >
evaluates to true if From
has an (explicit or implicit) conversion function that produces To
from From
, i.e. there exists From::operator \c To()
- Note
- I do not yet know how to distinguish explicit from implicit operators; some observable behavior does depend on this (e.g. given an explicit converting ctor A::A(C) and an B::operator C(), explicit conversion of B into A will be possible if B::operator C is implicit.
Definition at line 439 of file type_traits.h.
The documentation for this struct was generated from the following file:
- TiledArray/type_traits.h