| Issue 1: | Porting to C++11 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Nov 28, 2012
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
Thanks! It’s not so much that I considered it a defect, but that I couldn’t change it after posting the above! |