Documentation of memory
This is the documentation of
This is a short example using a some allocators.
About this documentation
This documentation is written in a similar way as the C++ standard itself, although not that formal.
Concepts are documented using the names of the template parameters, for example the following class:
It takes two template parameters, the first must model the [Tracker] concept, the second the [RawAllocator] concept.
Unless explicitly stated otherwise, it is not allowed to call a function that modifies state from two different threads. Functions that modify state are non-
const member functions, functions taking a non-
const reference to objects or functions where it is explictly documented that they change some hidden state.
If a function is documented as
noexcept, it does not throw anything. Otherwise it has a Throws: clause specifying what it throws, or if it is a forwarding function, the information can be found there (see below).
If a class is described as [RawAllocator] it automatically has certain semantically information which are not explictly mentioned. This is especially true for the member functions of an [allocator_traits] specialization.
If a function is described as returning the value of another function or forwarding to it, it implicitly has the requirements and effects from the called function and can also throw the same things.
Generated by 1.8.10