Header convenience.hpp provides convenience functions that combine lower-level functions in useful ways.
void create_directories( const path & ph );
Precondition:
ph.empty() ||
forall p: p == ph || is_parent(p, ph): is_directory(p) || !exists( p )Postcondition:
exists(ph) && is_directory(ph)
Contributed by Vladimir Prus.
© Copyright Beman Dawes, 2002
Revised 23 December, 2002