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

Class T

unittests/compiled_tests.cpp:1004–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002{
1003 auto module = std::make_shared<chaiscript::Module>();
1004 struct T {
1005 operator bool() const { return true; }
1006 };
1007 module->add(chaiscript::type_conversion<T, bool>());
1008}
1009

Callers 2

built_in_type_testFunction · 0.85
parse_numFunction · 0.85

Calls

no outgoing calls

Tested by 1

built_in_type_testFunction · 0.68