22 Apr
2003
22 Apr
'03
3:10 p.m.
scleary@jerviswebb.com wrote:
Sorry, Boost.Pool does not currently support MSVC, due to that compiler's extreme lack of template support. <snip>
For VC++ 6, all that should be needed is a _Charalloc function (instead of struct rebind) and a change to the type of deallocate's first parameter (to void *, which actually makes more sense). The VC++ 7 compiler is good enough to support standard allocators and the library does use them. With the addition of a variable name and semi-colon, the given example can be compiled with this version. Is there some other reason why VC++ cannot be supported?