Project

General

Profile

Design #601

LongRange: in which file should it be declared/defined?

Added by John Abbott over 9 years ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Tidying
Target version:
Start date:
31 Jul 2014
Due date:
% Done:

10%

Estimated time:
Spent time:

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

Related to CoCoALib - Feature #1472: Idea for for loopsIn Progress2020-07-23

Related to CoCoALib - Feature #312: LongRange(a,b) returning vector of long a..b (included)Closed2013-02-14

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

#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 about 1 year ago

  • Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880

#7 Updated by Anna Maria Bigatti about 2 months ago

  • Related to Feature #312: LongRange(a,b) returning vector of long a..b (included) added

Also available in: Atom PDF