FastLED 3.10.8
Loading...
Searching...
No Matches

◆ get() [6/12]

template<typename T, typename T1, typename T2>
T && fl::get ( pair< T1, T2 > && p)

Definition at line 176 of file pair.h.

176 {
178 "Type T must be one of the pair's element types");
180 "Type T must be unique in the pair");
182 return fl::move(p.first);
183 } else {
184 return fl::move(p.second);
185 }
186}
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition s16x16x4.h:30
#define FL_STATIC_ASSERT(...)
T1 first
Definition pair.h:17
T2 second
Definition pair.h:18

References FL_NO_EXCEPT, FL_STATIC_ASSERT, fl::fl::adl_barrier::move(), and fl::fl::is_same< T, U >::value.

+ Here is the call graph for this function: