Checked that any type can hold const char*.