Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<typename T>
- inline void vector<T>::call_dtor_in_range(const size_type & start, const size_type & end)
- {
- for (size_type I = start; I < end; ++I)
- {
- if (!std::is_pod<T>::value && std::is_destructible<T>::value && !std::is_pointer<T>::value)
- {
- m_Data[I].~T();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement