I doubt you'll ever need anything other than the char * version of get(), except where you're passing it to some other function that requires some other pointer type (whereby you'll need a cast with void* return anyway).