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

Method RemovePred

base/string/byte_set.h:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 // remove all bytes which satisfy the pred
105 template <typename Pred>
106 void RemovePred(const Pred& pred)
107 {
108 for (int c = 0; c <= UCHAR_MAX; ++c)
109 {
110 if (pred(c))
111 Remove(c);
112 }
113 }
114
115 // remove all bytes in str from the set
116 void Remove(const char* str)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected