Project

General

Profile

Design #83

C++11 compatibility questions

Added by John Abbott about 12 years ago. Updated about 2 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Portability
Target version:
Start date:
26 Jan 2012
Due date:
% Done:

40%

Estimated time:
Spent time:

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

Related to CoCoALib - Feature #82: C++11 compatibility questionsClosed2012-01-26

Related to CoCoALib - Feature #357: Constructor for vectors? CoCoAVectorRejected2013-05-24

Related to CoCoALib - Feature #152: Replace bool3 by triboolClosed2012-05-04

Related to CoCoALib - Design #891: Replace auto_ptr in preparation for C++11?Closed2016-06-17

Related to CoCoALib - Design #894: strict enum types: C++11 extensionIn Progress2016-06-21

Related to CoCoALib - Feature #1010: C++11: Mario's Hilbert scheme codeNew2017-02-20

Related to CoCoALib - Design #710: Update normaliz interface?In Progress2015-05-17

Related to CoCoALib - Design #999: configuration: include -std=c++03 by default?Closed2017-01-18

Related to CoCoA-5 - Support #1240: John's visit Feb 2019Closed2019-02-08

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

#10 Updated by John Abbott almost 8 years ago

What is the difference between issues #82 and #83 (this one)?

#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

#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

Also available in: Atom PDF