MCPcopy Create free account
hub / github.com/alibaba/zvec / Code

Method Code

src/include/zvec/core/framework/index_error.h:42–44  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

40 public:
41 //! Constructor
42 Code(int val, const char *str) : value_(-val), desc_(str) {
43 IndexError::Instance()->emplace(this);
44 }
45
46 //! Retrieve the value of code
47 operator int() const {

Callers

nothing calls this directly

Calls 1

emplaceMethod · 0.45

Tested by

no test coverage detected