#2 Patch for MSVC6 with STLport-4.5.3

closed-out-of-date
nobody
None
5
2005-10-24
2003-08-13
Markus Ewald
No

I noticed that Loki for MSVC6 doesn't compile with
STLport (www.stlport.org) due to std::lower_bound()
being used without a comparator. I don't see why this
change was made, because to my knowledge
std::lower_bound() is correctly implemented in MSVC6's
old Dinkumware-STL.

So here's a patch which makes Loki compile on MSVC6
with and without STLport.

Discussion

  • Markus Ewald
    Markus Ewald
    2003-08-13

    Patch for MSVC6 with STLport-4.5.3

     
  • Peter Kuemmel
    Peter Kuemmel
    2005-10-24

    • status: open --> closed-out-of-date
     
  • Logged In: YES
    user_id=749922

    Thanks for the patch, however the newer version of the
    Small-Object allocator no longer requires std::lower_bound.
    We were not intending to backport the newer version to MSVC
    6, since many people have already switched to MSVC 7.0 or later.

    If you are still using MSVC 6, please try the newest version
    of Loki with MSVC 6 and STLport. If it works, please let us
    know. Otherwise, feel free to suggest specific changes to
    correct it.

    Thanks

    Rich