Skip to content

Commit

Permalink
[core] Add TString::size_type member
Browse files Browse the repository at this point in the history
The `size_type` member is required by the helper macros in the new
CPyCppyy that can be used to declare string converters.
  • Loading branch information
guitargeek committed Feb 2, 2024
1 parent 1930554 commit 69a7b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/base/inc/TString.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ friend std::strong_ordering operator<=>(const TString &s1, const TString &s2) {
enum EStripType { kLeading = 0x1, kTrailing = 0x2, kBoth = 0x3 };
enum ECaseCompare { kExact, kIgnoreCase };
static constexpr Ssiz_t kNPOS = ::kNPOS;
using size_type = Ssiz_t;

TString(); // Null string
explicit TString(Ssiz_t ic); // Suggested capacity
Expand Down

0 comments on commit 69a7b0d

Please sign in to comment.