Constructors
Declared in <util/fs.h>
Deleted default constructor; a FileLock must name a file.
FileLock() = delete;
» more...
Deleted copy constructor; a FileLock is not copyable.
FileLock(FileLock const& other) = delete;
» more...
Deleted move constructor; a FileLock is not movable.
FileLock(FileLock&& other) = delete;
» more...
Construct a lock object for the given file, without yet acquiring the lock.
explicit
FileLock(fs::path const& file);
» more...
| Name | Description |
|---|---|
| other | The lock that would be copied. |
| file | The path of the file to lock. |