Convert a tiledb_datatype_t to a string representation. **/
| 48 | |
| 49 | /** Convert a tiledb_datatype_t to a string representation. **/ |
| 50 | inline std::string to_str(const tiledb_datatype_t& type) { |
| 51 | const char* c_str = nullptr; |
| 52 | tiledb_datatype_to_str(type, &c_str); |
| 53 | return std::string(c_str); |
| 54 | } |
| 55 | |
| 56 | } // namespace impl |
| 57 | } // namespace tiledb |
no test coverage detected