Does a certified (ISO 26262 or similar) C++ standard library exist?

1.4k views Asked by At

While certified C++ toolchains (compiler etc.) exist I did not find any certified C++ standard library (STL).

Does anyone know of someone providing this?

1

There are 1 answers

2
tihovin On

Certification demands strict following of ISO26262 and ASPICE standards, which would mean writting all documentation from system to unit level and also tests on all levels, parallel with documentation (see V model in ISO26262). Also, this would demand safety case for STL as "safety element out of context", which would demand inventing assumptions of use for all library parts and creating safety manual for user which will require use of library only in intended way. This would increase development cost for order of magnitude, and then market for this would be non-existent, as using it would demand writing custom memory manager which would allocate memory from statically allocated space, and then analyzing complete application to proof it'll newer need more memory then this preallocated amount, which would be major undertaking, so certified STL could theoretically exist, but mentioned reasons would probably prevent development of one.