1 #ifndef PTR_VECTOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define PTR_VECTOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 24 for(
unsigned i=0;i<
m_data.size();i++)
34 m_data.back() = t.release();
47 #endif // PTR_VECTOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
T & operator[](std::size_t i)
const T & operator[](std::size_t i) const
std::vector< T * > m_data
void push_back(std::auto_ptr< T > t)