MCPcopy Create free account
hub / github.com/Naios/function2 / box

Method box

include/function2/function2.hpp:379–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 T value_;
378
379 explicit box(T value, Allocator allocator_)
380 : Allocator(std::move(allocator_)), value_(std::move(value)) {
381 }
382
383 box(box&&) = default;
384 box(box const&) = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected