airekans / cpp-btree

Automatically exported from code.google.com/p/cpp-btree
Apache License 2.0
0 stars 0 forks source link

compilation on non-c++2011 & safe_btree_multiset : done #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile with an old compiler like xlC v8.0.0

What is the expected output? What do you see instead?
it does not compile

What version of the product are you using? On what operating system?
- cpp-btree-1.0.1
- AIX 5.3

Please provide any additional information below.

So I made little hacks to make it work.
First is to define a homemade type_traits to support the cpp-btree.
I attach it to this issue type_traits_hm.
Secondly I moved the external definition of some btree's methods into the 
declaration directly in the class.
That's all.

Subsidiary I made a little hack to have a safe_btree_multiset working.
I checked the performances with an homemade code. I also attach it.

Original issue reported on code.google.com by denis.jo...@gmail.com on 1 Mar 2013 at 9:41

Attachments: