diff options
Diffstat (limited to 'libstdc++-v3/doc/xml/manual/allocator.xml')
-rw-r--r-- | libstdc++-v3/doc/xml/manual/allocator.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/doc/xml/manual/allocator.xml b/libstdc++-v3/doc/xml/manual/allocator.xml index 213d82b..cc325be 100644 --- a/libstdc++-v3/doc/xml/manual/allocator.xml +++ b/libstdc++-v3/doc/xml/manual/allocator.xml @@ -19,7 +19,7 @@ class template called <classname>allocator</classname>. The <classname>allocator</classname> abstraction is used throughout the library in <classname>string</classname>, container classes, - algorithnms, and parts of iostreams. This class, and base classes of + algorithms, and parts of iostreams. This class, and base classes of it, are the superset of available free store (<quote>heap</quote>) management classes. </para> @@ -261,7 +261,7 @@ directly, for every allocation. (See <filename>include/ext/new_allocator.h</filename>, for instance.) However, that option would involve changing source code to use - the a non-default allocator. Another option is to force the + a non-default allocator. Another option is to force the default allocator to remove caching and pools, and to directly allocate with every call of <function>allocate</function> and directly deallocate with every call of @@ -397,7 +397,7 @@ </para> <para> Includes memory tracking and marking abilities as well as hooks for - throwing exceptinos at configurable intervals (including random, + throwing exceptions at configurable intervals (including random, all, none). </para> </listitem> @@ -447,7 +447,7 @@ <para>The <varname>thr</varname> boolean determines whether the pool should be manipulated atomically or not. When <varname>thr</varname> = <constant>true</constant>, the allocator - is is threadsafe, while <varname>thr</varname> = + is is thread-safe, while <varname>thr</varname> = <constant>false</constant>, and is slightly faster but unsafe for multiple threads. </para> @@ -455,7 +455,7 @@ <para> For thread-enabled configurations, the pool is locked with a single big lock. In some situations, this implementation detail - may result in severe performance degredation. + may result in severe performance degradation. </para> <para> |