mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fixed struct vs. class disparity.
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
#include <ios>
|
#include <ios>
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
class Stream;
|
struct Stream;
|
||||||
|
|
||||||
enum REGEX_OP { REGEX_EMPTY, REGEX_MATCH, REGEX_RANGE, REGEX_OR, REGEX_AND, REGEX_NOT, REGEX_SEQ };
|
enum REGEX_OP { REGEX_EMPTY, REGEX_MATCH, REGEX_RANGE, REGEX_OR, REGEX_AND, REGEX_NOT, REGEX_SEQ };
|
||||||
|
|
||||||
@@ -66,10 +66,10 @@ namespace YAML
|
|||||||
|
|
||||||
bool Matches(char ch) const;
|
bool Matches(char ch) const;
|
||||||
bool Matches(const std::string& str) const;
|
bool Matches(const std::string& str) const;
|
||||||
bool Matches(std::istream& in) const;
|
bool Matches(std::istream& in) const;
|
||||||
bool Matches(Stream& in) const;
|
bool Matches(Stream& in) const;
|
||||||
int Match(const std::string& str) const;
|
int Match(const std::string& str) const;
|
||||||
int Match(std::istream& in) const;
|
int Match(std::istream& in) const;
|
||||||
int Match(Stream& in) const;
|
int Match(Stream& in) const;
|
||||||
|
|
||||||
friend RegEx operator ! (const RegEx& ex);
|
friend RegEx operator ! (const RegEx& ex);
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
- "basic node"
|
|
||||||
- !<!howdy> "yeah baby"
|
|
||||||
|
|
||||||
---
|
|
||||||
- "basic node"
|
|
||||||
- !<!<!howdy>> "yeah baby"
|
|
||||||
|
|
Reference in New Issue
Block a user