MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / ExplicitFromIntStruct

Class ExplicitFromIntStruct

test/container_common_test.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46std::string ABCD("ABCD");
47
48struct ExplicitFromIntStruct {
49 explicit ExplicitFromIntStruct(int x)
50 : x_(x)
51 {
52 }
53 int x_;
54};
55bool operator==(const ExplicitFromIntStruct& lhs, const ExplicitFromIntStruct& rhs) { return lhs.x_ == rhs.x_; }
56}
57

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected