Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2018. The current version is 1.89.0.
An implementation of File.
Defined in header <boost/beast/core/file.hpp>
struct file : public file_stdio
|
Name |
Description |
|---|---|
|
The type of the underlying file handle. |
|
Name |
Description |
|---|---|
|
Close the file if open. |
|
|
Returns true if the file is open. |
|
|
Returns the native handle associated with the file. Set the native handle associated with the file. |
|
|
Open a file at the given path with the specified mode. |
|
|
Return the current position in the open file. |
|
|
Read from the open file. |
|
|
Adjust the current position in the open file. |
|
|
Return the size of the open file. |
|
|
Write to the open file. |
This alias is set to the best available implementation of File given the platform and build settings.
Convenience header <boost/beast/core.hpp>