include/llfio/v2.0/statfs.hpp
//! Constructs a filled instance, throwing as an exception any error which might occur
Constructs a filled instance, throwing as an exception any error which might occur
Constructs a filled instance throwing as an exception any error which might occur
explicit statfs_t(const handle &h, want wanted = want::all)
      : statfs_t()
  {
    auto v(fill(h, wanted));
    if(v.has_error())
    {
      v.error().throw_exception();
    }
  }
explicit statfs_t ( const handle & h , want wanted = want :: all ) : statfs_t ( ) { auto v ( fill ( h , wanted ) ) ; if ( v . has_error ( ) ) { v . error ( ) . throw_exception ( ) ; } }
Constructs a filled instance, throwing as an exception any error which might occur
Constructs a filled instance throwing as an exception any error which might occur