Skip to content

Commit

Permalink
Update rules/S6872/cfamily/rule.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-antognini-sonarsource authored Jan 18, 2024
1 parent fbbbb9d commit 627c4ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S6872/cfamily/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ auto readCoordinate() {

=== Exceptions

Using `()` (i.e., with no arguments) to initialize an aggregate is accepted.
The arguments listed above do not apply since the intent here is to use _value-initialization_.
_Value-initialization_ with `()` (i.e., with no arguments) is unrelated to _aggregate-initialization_ and is accepted.
None of the drawbacks listed above apply in such situations.

// There are also edge cases not worth covering or even mentioning here.
//
Expand Down

0 comments on commit 627c4ff

Please sign in to comment.