| 4260 | |
| 4261 | template<typename CmpLess, typename VectorT> |
| 4262 | size_t VmaVectorInsertSorted(VectorT& vector, const typename VectorT::value_type& value) |
| 4263 | { |
| 4264 | const size_t indexToInsert = VmaBinaryFindFirstNotLess( |
| 4265 | vector.data(), |
| 4266 | vector.data() + vector.size(), |
| 4267 | value, |
| 4268 | CmpLess()) - vector.data(); |
| 4269 | VmaVectorInsert(vector, indexToInsert, value); |
| 4270 | return indexToInsert; |
| 4271 | } |
| 4272 | |
| 4273 | template<typename CmpLess, typename VectorT> |
| 4274 | bool VmaVectorRemoveSorted(VectorT& vector, const typename VectorT::value_type& value) |
nothing calls this directly
no test coverage detected