Thread Rating:
- 0 Vote(s) - 0 Average
- 1
- 2
- 3
- 4
- 5
Rule 0.2.4 non-compliant reason
|
Posts: 2
Threads: 2
Joined: Mar 2024
Reputation:
0
Hi! I've questions about the examples of MISRA C++:2023 Rule 0.2.4 "Functions with limited visibility should be used at least once":
namespace B
{
struct C2 {};
static void swap( C2 &, C2 & ); // Non-compliant
}
B: wap() is marked as non-compliant, could anyone please give some explanations?
Thank you very much!
|
Messages In This Thread |
Rule 0.2.4 non-compliant reason - by danix800 - 15-03-2024, 02:20 PM
|
Users browsing this thread: 1 Guest(s)