Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
final means "final"
#2
What Autosar rule requires that?

Relevant rules I can find:

Rule A10-3-1 (required, implementation, automated)
Virtual function declaration shall contain exactly one of the three specifiers:
(1) virtual, (2) override, (3) final.

Rule A10-3-2 (required, implementation, automated)
Each overriding virtual function shall be declared with the override or
final specifier.

So you can choose to use either "final" (perhaps redundant) or "override".
Reply


Messages In This Thread
final means "final" - by kent.dorfman766 - 14-03-2022, 06:18 PM
RE: final means "final" - by cgpzs - 15-03-2022, 01:57 PM
RE: final means "final" - by kent.dorfman766 - 18-03-2022, 05:01 AM
RE: final means "final" - by cgpzs - 21-03-2022, 10:31 AM
RE: final means "final" - by misra cpp - 22-03-2022, 11:00 AM
RE: final means "final" - by cgpzs - 22-03-2022, 04:03 PM
RE: final means "final" - by misra cpp - 13-05-2022, 01:56 PM
RE: final means "final" - by novelsmith - 23-01-2024, 07:51 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)