diff options
Diffstat (limited to 'src/list.h')
| -rw-r--r-- | src/list.h | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -471,6 +471,11 @@ namespace Bu | |||
| 471 | { | 471 | { |
| 472 | return *pLast->pValue; | 472 | return *pLast->pValue; |
| 473 | } | 473 | } |
| 474 | |||
| 475 | const bool isEmpty() const | ||
| 476 | { | ||
| 477 | return (nSize == 0); | ||
| 478 | } | ||
| 474 | 479 | ||
| 475 | private: | 480 | private: |
| 476 | Link *pFirst; | 481 | Link *pFirst; |
