29 #ifndef __SYSTEMC_EXT_DT_SC_TEMPORARY_HH__
30 #define __SYSTEMC_EXT_DT_SC_TEMPORARY_HH__
84 bytes_n = (bytes_n + 7) & ((std::size_t)(-8));
166 inline sc_vpool(
int log2, T *pool_p=0);
170 inline std::size_t
size();
175 m_pool_p(pool_p ? pool_p : new T[static_cast<
std::size_t>(1) << log2]),
176 m_wrap(~(static_cast<
std::size_t>(-1) << log2))
192 result_p = &m_pool_p[m_pool_i];
193 m_pool_i = (m_pool_i + 1) & m_wrap;
227 #endif // __SYSTEMC_EXT_DT_SC_TEMPORARY_HH__