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

Function begin

03.06-twoStepUsing2/main.cpp:9–13  ·  view source on GitHub ↗

#A Container without begin

Source from the content-addressed store, hash-verified

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

Callers 1

UseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected