MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / string>

Method string>

src/core/string_utils.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 template <> std::optional<std::string> parse<std::string>(std::string_view s)
96 {
97 if (auto r = parse<std::string_view>(s))
98 return std::string(*r);
99 return std::nullopt;
100 }
101
102 template <> std::optional<dm::bool2> parse(std::string_view s) { return parse_vector<dm::bool2>(s); }
103 template <> std::optional<dm::bool3> parse(std::string_view s) { return parse_vector<dm::bool3>(s); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected