Utility.hpp File Reference
#include "config.hpp"
Include dependency graph for Utility.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | argument_type< T(U)> |
Namespaces | |
FSTR | |
Macros | |
#define | DECL(t) argument_type<void(t)>::type |
Wrap a type declaration so it can be passed with commas in it. More... | |
#define | STR(x) XSTR(x) |
#define | XSTR(x) #x |
#define | IMPORT_FSTR_DATA(name, file) |
Link the contents of a file. More... | |
Functions | |
template<typename T > | |
std::enable_if< sizeof(T)==1, T >::type | FSTR::readValue (const T *ptr) |
Read a typed value from flash memory ensuring correct alignment of access. More... | |
template<typename T > | |
std::enable_if< sizeof(T)==2, T >::type | FSTR::readValue (const T *ptr) |
template<typename T > | |
std::enable_if< sizeof(T)==4, T >::type | FSTR::readValue (const T *ptr) |
template<typename T > | |
std::enable_if<(sizeof(T) > 4) &&IS_ALIGNED(sizeof(T)), T >::type | FSTR::readValue (const T *ptr) |