MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

tests/Issue258.cpp:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <memory>
3
4int main()
5{
6 auto x = std::make_unique<int>(42);
7 auto lambda = [x = std::move(x)]() { std::cout << *x << '\n'; };
8}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected