2 Nov
2009
2 Nov
'09
3:46 p.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.
5436
Age (days ago)
5436
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ondrej Sluciak