Ticket #48034

CodingStyle: C23 nullptr

오픈 날짜: 2023-05-12 23:06 마지막 업데이트: 2023-05-18 00:47

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

Details

Update CodingStyle to reflect the fact that 'nullptr' is supported also in C code in freeciv-3.3

While I'd like even recommend it over 'NULL', more importantly 'nullptr' should not leak (in backports) to freeciv-3.2, wording CodingStyle so it would not push people to take unnecessary risks (with code that might get backported later).

Ticket History (3/4 Histories)

2023-05-12 23:06 Updated by: cazfi
  • New Ticket "CodingStyle: C23 nullptr" created
2023-05-12 23:07 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-05-18 00:47 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

Please login to add comment to this ticket » Login