Eric Sunshine worked around a slew of MSVC6 compiler bugs ("internal compiler error" and several others) which were triggered by changes to csArray<> aimed at making FindKey() and FindSortedKey() type-safe.  The new approach wraps the comparison function in a functor which falls back to unsafe void* if and only if the compiler fails to grok the strongly typed approach.  The functor wrapper hides this MSVC6 anomaly from client code.
Eric Sunshine worked around a slew of MSVC6 compiler bugs ("internal
compiler error" and several others) which were triggered by changes to
csArray<> aimed at making FindKey() and FindSortedKey() type-safe.  The
new approach wraps the comparison function in a functor which falls back
to unsafe void* if and only if the compiler fails to grok the strongly
typed approach.  The functor wrapper hides this MSVC6 anomaly from client
code.


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@17222 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS