A bidirectional range of VFS items (files or directories).
A destructor is present on this object, but not explicitly documented in the source.
Type used to store the items.
Pop the back element from the range.
Pop the front element from the range.
Get number of items in the range.
Function used to compare items alphabetically.
1 //VFSDirs is a VFSRange of directories - VFSFiles of files. 2 VFSDirs dirs; 3 4 //Get the first directory. 5 auto f = dirs.front; 6 7 //Get the last directory. 8 auto b = dirs.back; 9 10 //Remove the first directory from the range (this will not remove the directory itself). 11 dirs.popFront(); 12 13 //Remove the last directory from the range (this will not remove the directory itself). 14 dirs.popBack(); 15 16 //Are there no files/directories ? 17 bool empty = r.empty;