FastLED 3.9.15
Loading...
Searching...
No Matches
bit_cast.h File Reference
#include "fl/type_traits.h"
#include "fl/int.h"
+ Include dependency graph for bit_cast.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::is_bitcast_compatible< T >
 
struct  fl::is_bitcast_compatible< const T >
 
struct  fl::is_bitcast_compatible< T * >
 

Namespaces

namespace  fl
 IMPORTANT!
 

Functions

template<typename To, typename From>
To fl::bit_cast (const From &from) noexcept
 
template<typename To>
const To * fl::bit_cast_ptr (const void *storage) noexcept
 
template<typename To>
To * fl::bit_cast_ptr (void *storage) noexcept
 
template<typename T>
T * fl::int_to_ptr (uptr value) noexcept
 
template<typename T>
uptr fl::ptr_to_int (T *ptr) noexcept