MCPcopy Create free account
hub / github.com/Kitware/CMake / cmGeneratedFileStream

Method cmGeneratedFileStream

Source/cmGeneratedFileStream.cxx:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#endif
16
17cmGeneratedFileStream::cmGeneratedFileStream(Encoding encoding)
18{
19#ifndef CMAKE_BOOTSTRAP
20 if (encoding != codecvt_Encoding::None) {
21 this->imbue(std::locale(this->getloc(), new codecvt(encoding)));
22 }
23#else
24 static_cast<void>(encoding);
25#endif
26}
27
28cmGeneratedFileStream::cmGeneratedFileStream(std::string const& name,
29 bool quiet, Encoding encoding)

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.80
ErrorClass · 0.70
writeMethod · 0.45

Tested by

no test coverage detected