mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #170 from rkhlebnikov/missing-inlines
added missing inlines for VS2013 workaround
This commit is contained in:
commit
76d465a3ce
@ -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