MCPcopy Create free account
hub / github.com/DmitriBogdanov/UTL / CustomContainerAdaptor

Class CustomContainerAdaptor

tests/module_log/stringifier.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122TEST_CASE("Stringifier / Adaptors") {
123
124 class CustomContainerAdaptor {
125 public:
126 using container_type = std::tuple<std::string, std::string>;
127
128 CustomContainerAdaptor(container_type&& container) : c(container) {}
129
130 protected:
131 container_type c;
132 };
133
134 const auto dq = std::deque{1, 2, 3};
135 const auto tp = std::tuple{"lorem", "ipsum"};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected