MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Apply

Method Apply

tests/CharLiteralTest.cpp:29–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28public:
29 void Apply()
30 {
31 Char* data = mData;
32 data[GetLength() + 1] = '\0';
33 data[GetLength() + 1] = '\n';
34 data[GetLength() + 1] = '\\';
35 data[GetLength() + 1] = '\'';
36 data[GetLength() + 1] = '\a';
37 data[GetLength() + 1] = '\b';
38 data[GetLength() + 1] = '\f';
39 data[GetLength() + 1] = '\r';
40 data[GetLength() + 1] = '\t';
41 data[GetLength() + 1] = '\v';
42
43 data[GetLength() + 1] = L'\n';
44 data[GetLength() + 1] = u8'\n';
45 data[GetLength() + 1] = u'\n';
46 data[GetLength() + 1] = U'\n';
47
48 data[GetLength() + 1] = 3u;
49
50 data[GetLength() + 1] = 3ul;
51 data[GetLength() + 1] = 3ull;
52
53 data[GetLength() + 1] = 3ll;
54 data[GetLength() + 1] = 3L;
55 }
56
57 Int GetLength() const { return mLength; }
58

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected