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

Function begin

03.05-twoStepUsing1/main.cpp:7–11  ·  view source on GitHub ↗

#A Container without begin

Source from the content-addressed store, hash-verified

5
6struct Container {}; // #A Container without begin
7int* begin(Container) // #B Free-function begin for Container
8{
9 std::cout << "begin(Container)\n";
10 return nullptr;
11}
12
13struct OtherContainer { // #C Container with begin
14 int* begin()

Callers 1

UseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected