gbe_fork/cmake/share/cmake-3.27/Modules/TestForSSTREAM.cxx

11 lines
159 B
C++
Raw Normal View History

2023-12-17 02:34:09 +08:00
#include <sstream>
int main(int, char*[])
{
std::ostringstream os;
os << "12345";
if (os.str().size() == 5) {
return 0;
}
return -1;
}