MCPcopy Create free account
hub / github.com/changkun/modern-cpp-tutorial / operator"" _wow1

Function operator"" _wow1

code/8/8.2.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <string>
11
12std::string operator"" _wow1(const char *wow1, size_t len) {
13 return std::string(wow1)+"woooooooooow, amazing";
14}
15
16std::string operator""_wow2 (unsigned long long i) {
17 return std::to_string(i)+"woooooooooow, amazing";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected