Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我想创建一个操纵器来将字符串从小写转换为大写,它必须像这样使用:cout << toUpper << "abc"; 如何从 ostream 类型中获取源字符串以供进一步使用?
cout << toUpper << "abc";