Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[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.
  • Loading branch information
guitargeek committed Feb 2, 2024
commit 69a7b0d5bcb51f3b4cc787342c75a64b0a2d3455
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