mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Set the eol style to native for all files.
This commit is contained in:
50
src/stream.h
50
src/stream.h
@@ -1,25 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <ios>
|
||||
#include <string>
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
struct Stream
|
||||
{
|
||||
Stream(std::istream& input_): input(input_), line(0), column(0) {}
|
||||
|
||||
int pos() const;
|
||||
operator bool();
|
||||
bool operator !() { return !(*this); }
|
||||
|
||||
std::istream& stream() const { return input; }
|
||||
char peek();
|
||||
char get();
|
||||
std::string get(int n);
|
||||
void eat(int n = 1);
|
||||
|
||||
std::istream& input;
|
||||
int line, column;
|
||||
};
|
||||
}
|
||||
#pragma once
|
||||
|
||||
#include <ios>
|
||||
#include <string>
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
struct Stream
|
||||
{
|
||||
Stream(std::istream& input_): input(input_), line(0), column(0) {}
|
||||
|
||||
int pos() const;
|
||||
operator bool();
|
||||
bool operator !() { return !(*this); }
|
||||
|
||||
std::istream& stream() const { return input; }
|
||||
char peek();
|
||||
char get();
|
||||
std::string get(int n);
|
||||
void eat(int n = 1);
|
||||
|
||||
std::istream& input;
|
||||
int line, column;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user