MCPcopy Create free account
hub / github.com/catboost/catboost / ToSet

Method ToSet

library/cpp/regex/pire/pire/classes.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 TSet<wchar32> ToSet() const
57 {
58 TSet<wchar32> ret;
59 for (auto&& bound : m_bounds)
60 for (wchar32 c = bound.first; c <= bound.second; ++c)
61 ret.insert(c);
62 return ret;
63 }
64
65 private:
66 TVector<ypair<wchar32, wchar32> > m_bounds;

Callers 1

GetMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected