How to convert std::string to const char*

std::string passingStr;
const char * cStrToUse = passingStr.c_str();

void WillCallThisInsideMain()
{
    std::cout << sizeof(cStrToUse) << std::endl;
}