MCPcopy Create free account
hub / github.com/apache/arrow / MoveOnlyDataType

Method MoveOnlyDataType

cpp/src/arrow/testing/gtest_util.h:491–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489// A data type with only move constructors (no copy, no default).
490struct MoveOnlyDataType {
491 explicit MoveOnlyDataType(int x) : data(new int(x)) {}
492
493 MoveOnlyDataType(const MoveOnlyDataType& other) = delete;
494 MoveOnlyDataType& operator=(const MoveOnlyDataType& other) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected