_gen does not delete m_S in destructor.