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)
noexcept

Definition at line 170 of file pair.h.

170 {
172 "Type T must be one of the pair's element types");
174 "Type T must be unique in the pair");
176 return fl::move(p.first);
177 } else {
178 return fl::move(p.second);
179 }
180}
constexpr remove_reference< T >::type && move(T &&t) noexcept
Definition move.h:27
static constexpr bool value
Definition type_traits.h:84
T1 first
Definition pair.h:14
T2 second
Definition pair.h:15

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

+ Here is the call graph for this function: