My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Porting to C++11
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Nov 2012


 
Reported by goo...@geheimwerk.de, Nov 8, 2012
I have started porting this interval tree implementation to C++11. As I am very new to C++ templates (learning about them for the past week or so) and know no C# to speak of, I have run into two problems:

1. The enumerators need to be converted into iterators (AFAIK). This also involves “unwrapping” the way they work. Sadly, “yield” isn’t available even in C++11.
2. The memory management needs to be checked. 

Please have a look and tell me if you can help out in any way: 
https://github.com/JanX2/intervaltree-cpp11

Pointers welcome ;)
Nov 8, 2012
#1 goo...@geheimwerk.de
BTW: I found this while researching:
http://www.dotnetperls.com/tuple-keyvaluepair
Nov 28, 2012
Project Member #2 costi...@gmail.com
since it's not really a defect you are reporting, I'm changing it's status to Invalid.  If I do have some time I'll have a look at your code and help you with the C++ templates. Also, code is meant to be used with all .NE Framework versions starting v2, C# Tuple came later in v4. Interesting performance figures though between KeyValuePair and Tuple, thanks for the link
Status: Invalid
Labels: -Type-Defect Type-Other
Nov 28, 2012
#3 goo...@geheimwerk.de
Thanks! It’s not so much that I considered it a defect, but that I couldn’t change it after posting the above! 

Powered by Google Project Hosting