[Bf-committers] MEM_CacheLimiter breaks msvc6 compile unrepairable

bjornmose at gmx.net bjornmose at gmx.net
Wed Feb 8 09:54:05 CET 2006


Hi all,
i tried for a while to get over STL problems arising on msvc6 with this new
classes.

Finally i
found:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/HTML/MEMORY_allocator.asp

<quote>
In this implementation, if a translator does not support member template
functions, it omits the type-mapping member template class:

template<class U>
    struct rebind {
    typedef allocator<U> other;
    };

Thus, how you write an allocator is constrained. A container may need to
allocate and free objects other than type T, but cannot use the rebind
mechanism to derive a suitable allocator object. This means you cannot write
an allocator that uses any pointer or reference types that differ from those
used by allocator, and you must supply the member function:

char *_Charalloc(size_type n);

which allocates an object of size n bytes and returns a pointer to its first
byte.
</quote>

so i read this like:
what ever i'll try to do, there is no way to compile
MEM_Allocator.h with msvc6.
So, was it decided to drop msvc6 as a supported build system?

Ole

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl


More information about the Bf-committers mailing list