forked from Alepha/Alepha
Stackable streambufs have a depth observer now.
This commit is contained in:
@ -93,6 +93,12 @@ namespace Alepha::Hydrogen::IOStreams::detail::StackableStreambuf_m
|
||||
}
|
||||
}
|
||||
|
||||
std::size_t
|
||||
exports::stackDepth( std::ios &ios )
|
||||
{
|
||||
return getStack( ios ).size();
|
||||
}
|
||||
|
||||
std::ostream &
|
||||
impl::operator << ( std::ostream &os, PopStack )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user