vector_base class for RAII & handling exceptions in constructor