FastLED 3.9.15
Loading...
Searching...
No Matches
fl::has_member_swap< T > Struct Template Reference

Detailed Description

template<typename T>
struct fl::has_member_swap< T >

Definition at line 390 of file type_traits.h.

#include <type_traits.h>

Classes

struct  helper
 

Static Public Attributes

static constexpr bool value = sizeof(test<T>(nullptr)) == sizeof(yes)
 

Private Types

typedef uint16_t no
 
typedef uint8_t yes
 

Static Private Member Functions

template<typename>
static no test (...)
 
template<typename U>
static yes test (helper< U, &U::swap > *)
 

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