FastLED 3.9.15
Loading...
Searching...
No Matches

◆ get() [6/12]

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

Definition at line 172 of file pair.h.

172 {
174 "Type T must be one of the pair's element types");
176 "Type T must be unique in the pair");
178 return fl::move(p.first);
179 } else {
180 return fl::move(p.second);
181 }
182}
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28
#define FL_STATIC_ASSERT(...)
T1 first
Definition pair.h:16
T2 second
Definition pair.h:17

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

+ Here is the call graph for this function: