Flutter Engine
The Flutter Engine
Classes | Typedefs | Functions
sknonstd Namespace Reference

Classes

struct  copy_const
 
struct  copy_cv
 
struct  copy_volatile
 
struct  is_bitmask_enum
 
struct  is_bitmask_enum< SkAdvancedTypefaceMetrics::FontFlags >
 
struct  is_bitmask_enum< SkAdvancedTypefaceMetrics::StyleFlags >
 
struct  is_bitmask_enum< skia::textlayout::TextLine::TextAdjustment >
 
struct  is_bitmask_enum< skui::ModifierKey >
 
struct  is_bitmask_enum< SkUnicode::CodeUnitFlags >
 

Typedefs

template<typename D , typename S >
using copy_const_t = typename copy_const< D, S >::type
 
template<typename D , typename S >
using copy_volatile_t = typename copy_volatile< D, S >::type
 
template<typename D , typename S >
using copy_cv_t = typename copy_cv< D, S >::type
 
template<typename D , typename S >
using same_const = copy_const< std::remove_const_t< D >, S >
 
template<typename D , typename S >
using same_const_t = typename same_const< D, S >::type
 
template<typename D , typename S >
using same_volatile = copy_volatile< std::remove_volatile_t< D >, S >
 
template<typename D , typename S >
using same_volatile_t = typename same_volatile< D, S >::type
 
template<typename D , typename S >
using same_cv = copy_cv< std::remove_cv_t< D >, S >
 
template<typename D , typename S >
using same_cv_t = typename same_cv< D, S >::type
 

Functions

template<typename E >
std::enable_if_t< sknonstd::is_bitmask_enum< E >::value, bool > constexpr Any (E e)
 

Typedef Documentation

◆ copy_const_t

template<typename D , typename S >
using sknonstd::copy_const_t = typedef typename copy_const<D, S>::type

Definition at line 29 of file SkTLogic.h.

◆ copy_cv_t

template<typename D , typename S >
using sknonstd::copy_cv_t = typedef typename copy_cv<D, S>::type

Definition at line 39 of file SkTLogic.h.

◆ copy_volatile_t

template<typename D , typename S >
using sknonstd::copy_volatile_t = typedef typename copy_volatile<D, S>::type

Definition at line 34 of file SkTLogic.h.

◆ same_const

template<typename D , typename S >
using sknonstd::same_const = typedef copy_const<std::remove_const_t<D>, S>

Definition at line 44 of file SkTLogic.h.

◆ same_const_t

template<typename D , typename S >
using sknonstd::same_const_t = typedef typename same_const<D, S>::type

Definition at line 45 of file SkTLogic.h.

◆ same_cv

template<typename D , typename S >
using sknonstd::same_cv = typedef copy_cv<std::remove_cv_t<D>, S>

Definition at line 48 of file SkTLogic.h.

◆ same_cv_t

template<typename D , typename S >
using sknonstd::same_cv_t = typedef typename same_cv<D, S>::type

Definition at line 49 of file SkTLogic.h.

◆ same_volatile

template<typename D , typename S >
using sknonstd::same_volatile = typedef copy_volatile<std::remove_volatile_t<D>,S>

Definition at line 46 of file SkTLogic.h.

◆ same_volatile_t

template<typename D , typename S >
using sknonstd::same_volatile_t = typedef typename same_volatile<D, S>::type

Definition at line 47 of file SkTLogic.h.

Function Documentation

◆ Any()

template<typename E >
std::enable_if_t< sknonstd::is_bitmask_enum< E >::value, bool > constexpr sknonstd::Any ( E  e)
constexpr

Definition at line 16 of file SkBitmaskEnum.h.

16 {
17 return static_cast<std::underlying_type_t<E>>(e) != 0;
18}