MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / main

Function main

Source Code/22-05.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <iostream>
4#include <vector>
5int main() {
6 auto v1 = std::vector<int> { 11, 22, 33 };
7 const auto v2 = v1;
8 const auto v3 = move(v1);
9 std::cout << v1.size() << " "
10 << v2.size() << " " << v3.size();
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected