If you are testing for a nullptr why do you need to do an implicit conversion? Why use vtkStdString at all?