Design #83
C++11 compatibility questions
Description
When the source code for CoCoA-5 is updated to C++11, several aspects will need to be reconsidered.
The purpose of this task is to gather a list of those aspects.
Related issues
History
#1 Updated by John Abbott about 12 years ago
The BOOST class shared_ptr
is used in the C5 interpreter (in files AST
, Interpreter
, Parser
). The standard library of C++11 offers a very similar class; we should probably switch to using the standard class (if possible).
#2 Updated by Anna Maria Bigatti about 11 years ago
- Category set to Portability
#3 Updated by John Abbott almost 11 years ago
C++11 offers some convenient ways of creating a std::vector
containing explicitly given elements. Right now I do not recall how simple/readable the syntax is.
This may let us simplify some fn interfaces (e.g. the function ideal
which accepts 1,2,3,4 args so that users do not have to go through the tedious hassle of creating a std::vector
).
#4 Updated by John Abbott almost 11 years ago
C++11 has a more flexible exception mechanism than the one in C++. Reconsider the design of CoCoALib exceptions (see also #385).
#5 Updated by Anna Maria Bigatti about 10 years ago
- Target version set to CoCoA-5.1.0 Easter14
#6 Updated by John Abbott about 10 years ago
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14
#7 Updated by John Abbott over 9 years ago
- Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.?.?
#8 Updated by John Abbott almost 8 years ago
- Related to Feature #357: Constructor for vectors? CoCoAVector added
#9 Updated by John Abbott almost 8 years ago
- Related to Feature #152: Replace bool3 by tribool added
#10 Updated by John Abbott almost 8 years ago
#11 Updated by John Abbott almost 8 years ago
- Related to Design #891: Replace auto_ptr in preparation for C++11? added
#12 Updated by John Abbott almost 8 years ago
- Related to Design #894: strict enum types: C++11 extension added
#13 Updated by John Abbott about 7 years ago
- Related to Feature #1010: C++11: Mario's Hilbert scheme code added
#14 Updated by John Abbott over 6 years ago
- Related to Design #710: Update normaliz interface? added
#15 Updated by John Abbott over 6 years ago
- Related to Design #999: configuration: include -std=c++03 by default? added
#16 Updated by Anna Maria Bigatti about 5 years ago
- Related to Support #1240: John's visit Feb 2019 added
#17 Updated by Anna Maria Bigatti about 5 years ago
- Tracker changed from Feature to Design
- Status changed from New to In Progress
- Target version changed from CoCoA-5.?.? to CoCoA-5.3.0
- % Done changed from 0 to 10
#18 Updated by John Abbott over 4 years ago
- Target version changed from CoCoA-5.3.0 to CoCoA-5.4.0
#19 Updated by John Abbott about 3 years ago
- % Done changed from 10 to 40
#20 Updated by John Abbott about 2 years ago
- Target version changed from CoCoA-5.4.0 to CoCoA-5.4.2