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

Method begin

03.05-twoStepUsing1/main.cpp:14–18  ·  view source on GitHub ↗

#C Container with begin

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected