Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::StringViewStream Class Reference

Lightweight istream over csv::string_view with zero copy. More...

#include <string_view_stream.hpp>

Inherits std::istream.

Public Member Functions

 StringViewStream (csv::string_view view)
 
 StringViewStream (const StringViewStream &)=delete
 
 StringViewStream (StringViewStream &&)=delete
 
StringViewStreamoperator= (const StringViewStream &)=delete
 
StringViewStreamoperator= (StringViewStream &&)=delete
 

Detailed Description

Lightweight istream over csv::string_view with zero copy.

WARNING: The caller is responsible for ensuring the backing memory outlives this stream and any CSVReader parsing it.

Definition at line 82 of file string_view_stream.hpp.

Constructor & Destructor Documentation

◆ StringViewStream()

csv::internals::StringViewStream::StringViewStream ( csv::string_view  view)
inlineexplicit

Definition at line 84 of file string_view_stream.hpp.


The documentation for this class was generated from the following file: