![]() |
Constructs an object of class istream.
explicit istream( const url & u);
Parameters
The URL to open.
Remarks
Initializes the base class with std::basic_istream<char>(sb), where sb
is an object of class istreambuf
stored within the class. It also opens sb
by performing sb.open(u)
and, if that fails (returns a null pointer), calls setstate(failbit).