MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / count

Function count

include/chaiscript/dispatchkit/bootstrap_stl.hpp:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103 template<typename T>
104 size_t count(const T &t_target, const typename T::key_type &t_key)
105 {
106 return t_target.count(t_key);
107 }
108
109 template<typename T>
110 void insert(T &t_target, const T &t_other)

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected