Inherited from basic_file.
Synchronise the file data to disk.
This function synchronises the file data to disk. Note that the semantics
of this synchronisation vary between operation systems.
Thrown on failure.
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)