| 1465 | } |
| 1466 | |
| 1467 | static string_ref::state_type move_construct(string_ref&& base) noexcept |
| 1468 | { |
| 1469 | shared_string_ref& s = static_cast<shared_string_ref&>(base); |
| 1470 | auto st = s.state(); |
| 1471 | s.context = nullptr; |
| 1472 | s.clear(); |
| 1473 | return st; |
| 1474 | } |
| 1475 | |
| 1476 | static void destroy(string_ref& base) noexcept |
| 1477 | { |