diff options
Diffstat (limited to 'src/util/regexp.h')
-rw-r--r-- | src/util/regexp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/regexp.h b/src/util/regexp.h index d51ef4372..efbb4579d 100644 --- a/src/util/regexp.h +++ b/src/util/regexp.h @@ -163,6 +163,11 @@ class CVC4_PUBLIC String { */ static bool isDigit(unsigned character); + /** + * Returns the maximum length of string representable by this class. + * Corresponds to the maximum size of d_str. + */ + static size_t maxSize(); private: // guarded static unsigned char hexToDec(unsigned char c); |