Urdl C++ Library

PrevUpHomeNext
istream::istream (2 of 3 overloads)

Constructs an object of class istream.

explicit istream(
    const url & u);

Parameters

u

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).


PrevUpHomeNext