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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
file_stdio::size

Return the size of the open file.

Synopsis
std::uint64_t
size(
    error_code& ec) const;
Parameters

Name

Description

ec

Set to the error, if any occurred

Return Value

The size in bytes


PrevUpHomeNext