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

Method apply_globals

include/chaiscript/dispatchkit/dispatchkit.hpp:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231 template<typename T, typename InItr>
232 static void apply_globals(InItr begin, InItr end, T &t)
233 {
234 while (begin != end)
235 {
236 t.add_global_const(begin->first, begin->second);
237 ++begin;
238 }
239 }
240
241 template<typename T, typename InItr>
242 static void apply_single(InItr begin, InItr end, T &t)

Callers

nothing calls this directly

Calls 1

add_global_constMethod · 0.80

Tested by

no test coverage detected