Design #601
LongRange: in which file should it be declared/defined?
Description
Currently LongRange
resides in utils.H
; it is the only function there that requires inclusion of the standard header <vector>
.
Perhaps LongRange
should be moved to a different file? Which one? Or perhaps a new one? What should it be called?
Related issues
History
#1 Updated by John Abbott almost 4 years ago
- Target version changed from CoCoALib-1.0 to CoCoALib-0.99800
#2 Updated by John Abbott almost 4 years ago
- Related to Feature #1472: Idea for for loops added
#3 Updated by John Abbott over 3 years ago
What about utils-LongRange
?
This name should also make it clear why the file is included.
#4 Updated by John Abbott over 3 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Anna is uneasy about making a header file for just a single function.
Ideally, there could be some other similar functions which could be put into the same header file.
2020-10-30 We postpone the decision.
#5 Updated by John Abbott over 2 years ago
- Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850
#6 Updated by John Abbott over 1 year ago
- Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880
#7 Updated by Anna Maria Bigatti 4 months ago
- Related to Feature #312: LongRange(a,b) returning vector of long a..b (included) added