13 lines
283 B
C++
13 lines
283 B
C++
#include "mtl/string_view.hpp"
|
|
|
|
#include "mtl/string.hpp"
|
|
|
|
namespace mtl {
|
|
|
|
string_view::string_view(const istring& str)
|
|
: m_str(str.c_str()), m_size(str.size()) {}
|
|
string_view::string_view(const istring& str, size_t size)
|
|
: m_str(str.c_str()), m_size(size) {}
|
|
|
|
} // namespace mtl
|