Ticket #45486

C23 nullptr

Open Date: 2022-08-28 05:22 Last Update: 2022-12-27 03:41

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

'nullptr' might be the most viable new C23 concept for us to adopt quickly, as it should be easy to do with a fallback in older systems. We already have been using C++ nullptr for a long time, with similar arrangements.

Undecided if we should target minimal support to freeciv-3.3 (as a big change coming all in one version), or freeciv-3.2 (would allow backporting freeciv-3.3 patches to freeciv-3.2 without changing any nullptr uses)

Ticket History (3/5 Histories)

2022-08-28 05:22 Updated by: cazfi
  • New Ticket "C23 nullptr" created
2022-12-18 07:41 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

Reply To cazfi

Undecided if we should target minimal support to freeciv-3.3 (as a big change coming all in one version), or freeciv-3.2 (would allow backporting freeciv-3.3 patches to freeciv-3.2 without changing any nullptr uses)

Well, I wanted to test things with gcc-13 already, and S3_2 has not yet been branched -> this change for current master is for 3.2.

2022-12-18 07:42 Updated by: cazfi
2022-12-27 03:41 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login