* Big refactoring in order to reduce template and debug symbol bloat.

* Fixes #8698
* Implemented SCARY iterators

[SVN r85165]
This commit is contained in:
Ion Gaztañaga
2013-07-28 22:10:37 +00:00
parent 8b60445c98
commit fa05d4447c

View File

@@ -81,8 +81,11 @@ class static_storage_allocator
* possible. * possible.
* *
* @par Error Handling * @par Error Handling
* Insertion beyond the capacity and out of bounds errors results in calling throw_bad_alloc(). * Insertion beyond the capacity result in throwing std::bad_alloc() if exceptions are enabled or
* The reason for this is because unlike vectors, static_vector does not perform allocation. * calling throw_bad_alloc() if not enabled.
*
* std::out_of_range is thrown if out of bound access is performed in `at()` if exceptions are
* enabled, throw_out_of_range() if not enabled.
* *
* @tparam Value The type of element that will be stored. * @tparam Value The type of element that will be stored.
* @tparam Capacity The maximum number of elements static_vector can store, fixed at compile time. * @tparam Capacity The maximum number of elements static_vector can store, fixed at compile time.