| 358 | } |
| 359 | |
| 360 | inline byte_t<8> byte_8_value(int64_t index) const |
| 361 | { |
| 362 | if (mode_ == mode_t::scalar_inplace) { |
| 363 | ASSERT(index == 0); |
| 364 | return base::span_cast<const byte_t<8>>(data())[index]; |
| 365 | } |
| 366 | return holder()->byte_8_value(index); |
| 367 | } |
| 368 | |
| 369 | explicit array(std::string value) |
| 370 | : dtype_(dtype::string) |