diff --git a/BAN/include/BAN/Function.h b/BAN/include/BAN/Function.h index 861821d8..33e4a361 100644 --- a/BAN/include/BAN/Function.h +++ b/BAN/include/BAN/Function.h @@ -64,6 +64,8 @@ namespace BAN memset(m_storage, 0, m_size); } + static constexpr size_t size() { return m_size; } + private: struct CallableBase {