Skip to content

Commit 02bc654

Browse files
authored
Document SStringX (differences with SString)
1 parent d344f85 commit 02bc654

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Shared/sdk/SString.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ class SString : public std::string
9898
void AssignLeft(const char* szOther, uint uiMaxLength);
9999
};
100100

101+
// When to use SStringX over SString:
102+
// - (Potential) macro conversions
103+
// - Trouble with implicit conversions
104+
// - Situations where a length parameter is needed
101105
class SStringX : public SString
102106
{
103107
public:

0 commit comments

Comments
 (0)