MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / begin

Method begin

03.06-twoStepUsing2/main.cpp:16–20  ·  view source on GitHub ↗

#C Container with begin

Source from the content-addressed store, hash-verified

14
15struct OtherContainer { // #C Container with begin
16 int* begin()
17 {
18 std::cout << "OtherContainer::begin()\n";
19 return nullptr;
20 }
21};
22
23void Use(auto& c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected