An error occurred while fetching folder content.
Danilo Piparo
authored
instead of vector<bool, RadoptAllocator<bool>>. It makes no sense to adopt memory in case T is bool since vector<T> becomes an entirely different class. As a corollary, the types data_t and const_data_t are defined to describe the return type of RVec<T>::data(). If T is not a bool, these are T* and const T* respectively. Otherwise they are both void, a solution as elegant as the one adopted by the STL for the vector<bool> specialisation.
Name | Last commit | Last update |
---|---|---|
.. |