operator>> Operator

Extracts a string from a specified basic_istream object.

template<class Path>
inline basic_istream<typename _Path::string_type::value_type, typename Path::string_type::traits_type>& operator>>(
   basic_istream<typename Path::string_type::value_type,
   typename Path::string_type::traits_type>& Istr,
   Path& Pval


A basic_istream object.


A Path object. Path can be either a path or a type that is derived from path.

This operator extracts an object of type path::string_type from Istr. If the extraction succeeds, the value is assigned to Pval.

Header: filesystem

Namespace: std::tr2::sys