Ricordati anche di aggiungere
#include <string>