チケット #18741

Improve const-correctness

登録: 2009-09-17 02:27 最終更新: 2009-12-12 00:18

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
1 - 最低
重要度:
5 - 中
解決法:
延期
ファイル:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

Would you like to apply the advices from a well-known article to more places in your sources?

I suggest to add the key word "const" to the type specifiers for parameters like the following.

チケットの履歴 (9 件中 3 件表示)

2009-09-17 02:27 更新者: elfring
  • 新しいチケット "Improve const-correctness" が作成されました
2009-09-26 11:41 更新者: (del#1144)
コメント

I think it is good. Do you have an idea for list up the points of replace?

2009-09-26 18:37 更新者: elfring
コメント

I'm sorry - I do not really understand your reply on this issue.

I have pointed already to a few places in the source files which might need further clarification about the handling of more data structures in a read-only way.

2009-09-29 12:09 更新者: (del#1144)
  • チケットの種類バグ から 機能リクエスト に更新されました
コメント

I'm grateful for your suggestion, but I guess your meaning isn't correct only the "Example" points.

Do you have any idea for find *all of the place* that need to add const?

2009-09-29 18:45 更新者: elfring
コメント

I do not know the source files good enough to definitely say in all places where data structures are used that do not need to be modified by a passed pointer. I have got the impression that there are still more update candidates in the source code.

I hope to get a clarification on the interface design from the core software developers.

2009-10-06 22:28 更新者: (del#1144)
  • 優先度5 - 中 から 3 に更新されました
2009-10-06 22:28 更新者: (del#1144)
  • 解決法なし から 延期 に更新されました
2009-12-10 20:44 更新者: (del#1144)
  • 優先度3 から 1 - 最低 に更新されました
  • コンポーネントTera Term から (未割り当て) に更新されました
コメント

Disputed points and side-effect are too many, and team members doesn't have enough time to fix this issue.

2009-12-12 00:18 更新者: elfring
コメント

How can the concerns about potential side effects be clarified?

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする