Changeset 29:54c2d451f8a0 in xplcommon for src/xplcommon/Buffer.h
- Timestamp:
- 01/02/13 11:37:15 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/Buffer.h
r5 r29 96 96 97 97 /** 98 * Get whether the buffer is empty or not. 99 */ 100 bool isEmpty() const; 101 102 /** 98 103 * Get the available capacity in the buffer. 99 104 */ … … 172 177 { 173 178 return length; 179 } 180 181 //------------------------------------------------------------------------------ 182 183 inline bool Buffer::isEmpty() const 184 { 185 return length==0; 174 186 } 175 187
Note:
See TracChangeset
for help on using the changeset viewer.