MCPcopy Create free account
hub / github.com/0voice/cpp_new_features / main

Function main

cpp_20/020_span_begin.cpp:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <iterator>
4
5int main()
6{
7 std::vector<int> v = { 3, 1, 4 };
8 auto vi = std::begin(v);
9 std::cout << *vi << '\n';
10
11 int a[] = { -5, 10, 15 };
12 auto ai = std::begin(a);
13 std::cout << *ai << '\n';
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected