Searched refs:SkTEnableIf_c (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
H A DSkTLogic.h69 /** SkTEnableIf_c::type = (condition) ? T : [does not exist]; */
70 template <bool condition, class T = void> struct SkTEnableIf_c { }; struct
71 template <class T> struct SkTEnableIf_c<true, T> { struct
77 : public SkTEnableIf_c<static_cast<bool>(Condition::value), T> { };
84 #define SK_WHEN(cond_prefix, T) typename SkTEnableIf_c<cond_prefix::value, T>::type
/external/skia/src/utils/
H A DSkTLogic.h69 /** SkTEnableIf_c::type = (condition) ? T : [does not exist]; */
70 template <bool condition, class T = void> struct SkTEnableIf_c { }; struct
71 template <class T> struct SkTEnableIf_c<true, T> { struct
77 : public SkTEnableIf_c<static_cast<bool>(Condition::value), T> { };
84 #define SK_WHEN(cond_prefix, T) typename SkTEnableIf_c<cond_prefix::value, T>::type

Completed in 136 milliseconds