diff options
-rw-r--r-- | src/fstring.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h index fe34804..21a07ce 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -479,6 +479,16 @@ namespace Bu | |||
479 | return pFirst->pData[nIndex]; | 479 | return pFirst->pData[nIndex]; |
480 | } | 480 | } |
481 | 481 | ||
482 | operator bool() const | ||
483 | { | ||
484 | return (pFirst != NULL); | ||
485 | } | ||
486 | |||
487 | bool isSet() const | ||
488 | { | ||
489 | return (pFirst != NULL); | ||
490 | } | ||
491 | |||
482 | /** | 492 | /** |
483 | * Is the character at index (nIndex) white space? | 493 | * Is the character at index (nIndex) white space? |
484 | *@param nIndex (long) The index of the character you want to check. | 494 | *@param nIndex (long) The index of the character you want to check. |