MCPcopy Create free account
hub / github.com/chen3feng/toft / FormatScanArg

Method FormatScanArg

base/string/format/scan_arg.h:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65public:
66 template <typename T>
67 FormatScanArg(T* p) : // NOLINT(runtime/explicit)
68 m_ptr(p),
69 m_parse(reinterpret_cast<ParseFunction>(&ScanValueParser<T>::Parse))
70 {
71 }
72
73 int Parse(const char* buf, const ScanSpecification& spec) const;
74 static int ParseSkipped(const char* string, const ScanSpecification& spec);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected