MISRA Discussion Forums
Synchronization with MISRA C 2012 - 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.18 Language support library (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=146)
+---- Thread: Synchronization with MISRA C 2012 (/showthread.php?tid=1274)



Synchronization with MISRA C 2012 - dg1980 - 21-09-2016

Dear MISRA team,

i recently stumbled upon Rule 21.9 of MISRA C 2012 which prohibits use of bsearch/qsort.
Currently, there is no equivalent in MISRA C++ 2008, so it would be legal to use bsearch/qsort in C++ (if you use cstdlib that is).
Maybe this is another synchronization topic for the next version of the standard (along with the preprocessor usage, see https://misra.org.uk/forum/viewtopic.php?f=200&t=1549#p3031).
Thanks.


Re: Synchronization with MISRA C 2012 - misra cpp - 11-10-2016

Work is currently under way on a new version of MISRA C++ document. One of its aims is to update the guidelines to bring them inline with the revised guidance in MISRA C:2012