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

Class BadAlloc

cpp/src/arrow/stl_allocator.h:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace stl {
32
33class BadAlloc : public std::bad_alloc {
34 public:
35 explicit BadAlloc(Status st) noexcept : st_(std::move(st)) {}
36
37 const char* what() const noexcept override { return st_.message().c_str(); }
38
39 protected:
40 Status st_;
41};
42
43/// \brief A STL allocator delegating allocations to a Arrow MemoryPool
44template <class T>

Callers 1

allocateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected