Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FileSystem {
- public:
- ...
- std::size_t numDisks() const;
- ...
- };
- extern FileSystem tfs;
- class Directory {
- public:
- Directory( params );
- ...
- };
- Directory::Directory( params )
- {
- ...
- std::size_t disks = tfs.numDisks();
- ...
- }
- Directory tempDir( params );
Add Comment
Please, Sign In to add comment