Constructs a string reference object from a C string and a size. If *size* is zero, which is the default, the size is computed automatically. */
| 173 | automatically. |
| 174 | */ |
| 175 | BasicStringRef(const Char *s, std::size_t size = 0) : data_(s), size_(size) {} |
| 176 | |
| 177 | /** |
| 178 | Constructs a string reference from an `std::string` object. |