I am intending to use classes that have boost::multiprecision::cpp_int
(see Boost Multiprecision) as data members, and I am hoping to manage instances of these classes on the heap using the boost::fast_pool_allocator
Boost custom allocator.
In order for this to be safe, I need to know that boost::multiprecision::cpp_int
is a POD (or at least that it does no allocation on the heap - i.e., is purely stack-based).
Is boost::multiprecision::cpp_int
a POD?
Thanks!