
2 Nov
2009
2 Nov
'09
8:46 a.m.
Hi, Is there a way on how to derive a class from pool::singleton_pool class? Something like: template<typename T> genericsingleton : boost::singleton_pool<boost::pool_allocator_tag, sizeof(T)> If I want to do this I always get this error: Error 1 error C2248: 'boost::singleton_pool<Tag,RequestedSize>::singleton_pool' : cannot access private member declared in class 'boost::singleton_pool<Tag,RequestedSize>' c:\mycode\boosttest\boosttest\genericsingleton.h 23 Thank you for answer.