MCPcopy Create free account
hub / github.com/apache/arrow / ~ToStringOstreamable

Method ~ToStringOstreamable

cpp/src/arrow/util/string_util.h:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66class ToStringOstreamable {
67 public:
68 ~ToStringOstreamable() {
69 static_assert(
70 std::is_same<decltype(std::declval<const T>().ToString()), std::string>::value,
71 "ToStringOstreamable depends on the method T::ToString() const");
72 }
73
74 private:
75 const T& cast() const { return static_cast<const T&>(*this); }

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected