alloc/aligned: add accessor for alignment

This commit is contained in:
Danny Robson 2018-03-01 14:42:32 +11:00
parent 7af076e2de
commit 35537b07ca

View File

@ -70,6 +70,10 @@ namespace util::alloc::raw {
}
///////////////////////////////////////////////////////////////////////
constexpr auto alignment (void) const noexcept { return m_alignment; }
///////////////////////////////////////////////////////////////////////
auto data (void) { return m_successor.data (); }