forked from Alepha/Alepha
Add ability to get the current delimiter in a stream.
This commit is contained in:
@ -70,6 +70,12 @@ namespace Alepha::Hydrogen::IOStreams ::detail:: delimiters
|
|||||||
{
|
{
|
||||||
return FieldDelimiterState::Setter{ delim };
|
return FieldDelimiterState::Setter{ delim };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto &
|
||||||
|
getFieldDelimiter( std::ios_base &ios )
|
||||||
|
{
|
||||||
|
return FieldDelimiterState::get( ios );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const int recordIndex= std::ios::xalloc();
|
inline const int recordIndex= std::ios::xalloc();
|
||||||
|
|||||||
Reference in New Issue
Block a user