forked from Alepha/Alepha
Now it's possible to set delimiters on input streams.
This commit is contained in:
@ -91,6 +91,13 @@ namespace Alepha::Hydrogen::IOStreams ::detail:: stream_state
|
|||||||
StreamState::get( os )= s.val;
|
StreamState::get( os )= s.val;
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
friend std::istream &
|
||||||
|
operator >> ( std::istream &is, const Setter &s )
|
||||||
|
{
|
||||||
|
StreamState::get( is )= s.val;
|
||||||
|
return is;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user