-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathStringUtils.h
41 lines (31 loc) · 896 Bytes
/
StringUtils.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// Created by Abbas Gussenov on 13.04.2023.
//
#ifndef TPL_METHOD_SPECIALIZATION_CPP_STRINGUTILS_H
#define TPL_METHOD_SPECIALIZATION_CPP_STRINGUTILS_H
#include <string>
struct StringUtils
{
StringUtils();
template<class TOutputString, class TInputString>
static TOutputString ToString(TInputString const&);
/*
template<> std::wstring ToString(std:: string const&);
template<> std:: string ToString(std::wstring const&);
*/
/*
template<> std::wstring ToString(std:: string const&)
{
return L"std::string - spec - h";
}
template<> std:: string ToString(std::wstring const&)
{
return "std::string - spec - h";
}
*/
};
/*
template<> std::wstring StringUtils::ToString(std:: string const&);
template<> std:: string StringUtils::ToString(std::wstring const&);
*/
#endif //TPL_METHOD_SPECIALIZATION_CPP_STRINGUTILS_H