Skip to content

Commit 69a7b0d

Browse files
committed
[core] Add TString::size_type member
The `size_type` member is required by the helper macros in the new CPyCppyy that can be used to declare string converters.
1 parent 1930554 commit 69a7b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/base/inc/TString.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ friend std::strong_ordering operator<=>(const TString &s1, const TString &s2) {
278278
enum EStripType { kLeading = 0x1, kTrailing = 0x2, kBoth = 0x3 };
279279
enum ECaseCompare { kExact, kIgnoreCase };
280280
static constexpr Ssiz_t kNPOS = ::kNPOS;
281+
using size_type = Ssiz_t;
281282

282283
TString(); // Null string
283284
explicit TString(Ssiz_t ic); // Suggested capacity

0 commit comments

Comments
 (0)