|
cheshirekow
v0.1.0
|
shamelessly borred from http://akrzemi1.wordpress.com/2012/10/23/user-defined-literals-part-ii/ More...
#include <limits>#include <stdexcept>Go to the source code of this file.
Namespaces | |
| mpblocks | |
| mpblocks::utility | |
Macros | |
| #define | BINARY_LITERAL(X) mpblocks::utility::BinaryLiteral(#X) |
Functions | |
| template<typename OutputType = unsigned> | |
| constexpr unsigned | mpblocks::utility::_BinaryLiteral (const char *str, size_t val=0) |
| template<typename OutputType = unsigned> | |
| constexpr OutputType | mpblocks::utility::BinaryLiteral (const char *str, size_t val=0) |
| constexpr bool | mpblocks::utility::IsBinary (char c) |
| template<typename T > | |
| constexpr size_t | mpblocks::utility::NumberOfBits () |
| constexpr size_t | mpblocks::utility::StringLength (const char *str, size_t current_len=0) |
shamelessly borred from http://akrzemi1.wordpress.com/2012/10/23/user-defined-literals-part-ii/
Definition in file binary_literal.h.
| #define BINARY_LITERAL | ( | X | ) | mpblocks::utility::BinaryLiteral(#X) |
Definition at line 79 of file binary_literal.h.