MCPcopy Create free account
hub / github.com/ThePhD/sol2 / int_entry

Class int_entry

examples/source/lua_value.cpp:7–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <string>
6
7struct int_entry {
8 int value;
9
10 int_entry() : value(0) {
11 }
12
13 int_entry(int v) : value(v) {
14 }
15
16 std::string to_string() const {
17 return "int_entry(" + std::to_string(value) + ")";
18 }
19
20 bool operator==(const int_entry& e) const {
21 return value == e.value;
22 }
23};
24
25int main(int, char*[]) {
26

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected