mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
added missing inlines
This commit is contained in:
parent
16f121774e
commit
31dd90ef31
@ -154,22 +154,22 @@ std::basic_string<typename std::remove_const<CharT>::type> to_string(basic_strin
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
std::string to_string(cstring_span<> view)
|
inline std::string to_string(cstring_span<> view)
|
||||||
{
|
{
|
||||||
return{ view.data(), view.length() };
|
return{ view.data(), view.length() };
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string to_string(string_span<> view)
|
inline std::string to_string(string_span<> view)
|
||||||
{
|
{
|
||||||
return{ view.data(), view.length() };
|
return{ view.data(), view.length() };
|
||||||
}
|
}
|
||||||
|
|
||||||
std::wstring to_string(cwstring_span<> view)
|
inline std::wstring to_string(cwstring_span<> view)
|
||||||
{
|
{
|
||||||
return{ view.data(), view.length() };
|
return{ view.data(), view.length() };
|
||||||
}
|
}
|
||||||
|
|
||||||
std::wstring to_string(wstring_span<> view)
|
inline std::wstring to_string(wstring_span<> view)
|
||||||
{
|
{
|
||||||
return{ view.data(), view.length() };
|
return{ view.data(), view.length() };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user