Skip to content

Commit a7aab2b

Browse files
committed
#58 - Implement operator ""csv
Completed.
1 parent 122dfd1 commit a7aab2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp-strings/cppstrings.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ namespace pcs // i.e. "pythonic c++ strings"
5454
#pragma warning(disable: 4455)
5555
inline const CppString operator""cs(const char* str, std::size_t len); //!< Forms a CppString literal.
5656
inline const CppString operator""csv(const char* str, std::size_t len); //!< Forms a CppString view literal.
57-
/*inline const CppWString operator""cs(const wchar_t* str, std::size_t len); //!< Forms a CppWString literal.
58-
inline const CppWString operator""csv(const wchar_t* str, std::size_t len); //!< Forms a CppWString view literal. */
57+
inline const CppWString operator""cs(const wchar_t* str, std::size_t len); //!< Forms a CppWString literal.
58+
inline const CppWString operator""csv(const wchar_t* str, std::size_t len); //!< Forms a CppWString view literal.
5959

6060
// chars classifications -- not to be directly called, see respective specializations at the very end of this module.
6161
template<class CharT>
@@ -1451,17 +1451,17 @@ namespace pcs // i.e. "pythonic c++ strings"
14511451
return CppString(CppString::MyStringView(str, len));
14521452
}
14531453

1454-
/*
1454+
/** \brief Forms a CppWString literal. */
14551455
inline const CppWString operator""cs(const wchar_t* str, std::size_t len)
14561456
{
14571457
return CppWString(CppWString::MyBaseClass(str, len));
14581458
}
14591459

1460+
/** \brief Forms a CppWString view literal. */
14601461
inline const CppWString operator""csv(const wchar_t* str, std::size_t len)
14611462
{
14621463
return CppWString(CppWString::MyStringView(str, len));
14631464
}
1464-
*/
14651465

14661466

14671467
//===== templated chars classes ===========================

0 commit comments

Comments
 (0)