Fix typo in ES.1

This commit is contained in:
Christopher Rosset 2015-09-18 20:54:29 +01:00
parent ee75a9cfcb
commit dcfc21ea1f

View File

@ -6361,7 +6361,7 @@ but don't hand-code a well-known algorithm
for (int i = 0; i<max; ++i)
sum = sum+v[i];
**Exception**: Large parts of the standard library rely on dynamic allocation (free store). These parts, notably the containers but not the algorithms, are unsuitable for some hard-real time and embedded applications. In such cases, consider providing/using similar facilities, e.g., a standard-libray-style container implemented using a pool allocator.
**Exception**: Large parts of the standard library rely on dynamic allocation (free store). These parts, notably the containers but not the algorithms, are unsuitable for some hard-real time and embedded applications. In such cases, consider providing/using similar facilities, e.g., a standard-library-style container implemented using a pool allocator.
**Enforcement**: Not easy. ??? Look for messy loops, nested loops, long functions, absence of function calls, lack of use of non-built-in types. Cyclomatic complexity?