|
DUDS
|
Distributed Update of Data from Something
|
128-bit integer support. More...
#include <boost/serialization/split_member.hpp>#include <boost/serialization/nvp.hpp>#include <boost/multiprecision/cpp_int.hpp>#include <duds/BuildConfig.h>#include <cstdint>#include <sstream>Go to the source code of this file.
Classes | |
| struct | duds::data::LargeIntWrapper< I, M > |
| Wraps an integer to allow the Boost multiprecision library to provide insertion and extraction operators, and to provide Boost serialization support that will produce the same result, while using either a native integer type or a Boost multiprecision type. More... | |
Namespaces | |
| duds | |
| duds::data | |
Typedefs | |
| typedef boost::multiprecision::int128_t | duds::data::int128_t |
| The type used for 128-bit integers. More... | |
| typedef LargeIntWrapper< int128_t, boost::multiprecision::int128_t > | duds::data::int128_w |
| A 128-bit integer wrapped by LargeIntWrapper to make the Boost serialized result interchangable between 32 and 64-bit targets. More... | |
128-bit integer support.
I attempted to use some fancy template stuff from C++11, but it all failed. It could make for a simpiler implementation, so much of the attempt is still here and commeneted out.
Definition in file Int128.hpp.