template <size_t SIZE>
AlignedPOD struct
Helper to provide memory for placement new AlignedPOD<SIZE> is aligned like max_align_t or like malloc()-ed memory and provides SIZE bytes. Idiomatic use is:
static AlignedPOD<sizeof (std::string)> pod_mem; std::string *str = new (&pod_mem) std::string();