No, not really. You can use the Traits template argument to create your own basic_string specialization that only does case insensitive comparisons but if you want to do it just for a moment you'll have to use stricmp or memicmp.