Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with Rule 14–6–2
#5
A Technical Corrigendum will correct this as:

The following forward template declaration for operator== will be added to the top of the example:

template
bool operator==(T const &, T const &); // #1

Comments need changing to say // Compliant - calls ::operator== #1, above
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)