MISRA Discussion Forums
Clarity of Rule 14-6-1 - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C++ (https://forum.misra.org.uk/forumdisplay.php?fid=18)
+--- Forum: MISRA C++:2008 rules (https://forum.misra.org.uk/forumdisplay.php?fid=19)
+---- Forum: 6.10 Derived classes (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=139)
+---- Thread: Clarity of Rule 14-6-1 (/showthread.php?tid=1225)



Clarity of Rule 14-6-1 - Insane Vent Storm - 17-02-2016

Rule 14-6-1 says 'In a class template with a dependant base, any name that may be found in that dependant base shall be referred to using a qualified-id or this->'. Does the use of the word 'template' mean that the rule applies to template classes, or does the rule apply to all inheriting classes ?


Re: Clarity of Rule 14-6-1 - misra cpp - 11-10-2016

This rule only applies to template classes