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

◆ ptr() [2/2]

template<typename... Types>
template<typename T>
const T * fl::Variant< Types >::ptr ( ) const
inline

Definition at line 110 of file variant.h.

110 {
111 return is<T>() ? reinterpret_cast<const T *>(&_storage) : nullptr;
112 }
char _storage[max_size< Types... >::value]
Definition variant.h:255
bool is() const noexcept
Definition variant.h:102