Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
9e62bf83
Commit
9e62bf83
authored
Sep 11, 2011
by
Jesse Beder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the (unimplemented) operator <, and added operator == (in place of is()) for nodes
parent
f9d826c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
include/yaml-cpp/node/impl.h
+1
-10
include/yaml-cpp/node/node.h
+1
-4
No files found.
include/yaml-cpp/node/impl.h
View file @
9e62bf83
...
@@ -233,17 +233,8 @@ namespace YAML
...
@@ -233,17 +233,8 @@ namespace YAML
}
}
// free functions
// free functions
inline
int
compare
(
const
Node
&
lhs
,
const
Node
&
rhs
)
{
return
0
;
}
inline
bool
operator
<
(
const
Node
&
lhs
,
const
Node
&
rhs
)
{
return
false
;
}
inline
bool
is
(
const
Node
&
lhs
,
const
Node
&
rhs
)
inline
bool
operator
==
(
const
Node
&
lhs
,
const
Node
&
rhs
)
{
{
return
lhs
.
is
(
rhs
);
return
lhs
.
is
(
rhs
);
}
}
...
...
include/yaml-cpp/node/node.h
View file @
9e62bf83
...
@@ -84,10 +84,7 @@ namespace YAML
...
@@ -84,10 +84,7 @@ namespace YAML
detail
::
node
*
m_pNode
;
detail
::
node
*
m_pNode
;
};
};
int
compare
(
const
Node
&
lhs
,
const
Node
&
rhs
);
bool
operator
==
(
const
Node
&
lhs
,
const
Node
&
rhs
);
bool
operator
<
(
const
Node
&
lhs
,
const
Node
&
rhs
);
bool
is
(
const
Node
&
lhs
,
const
Node
&
rhs
);
template
<
typename
T
>
template
<
typename
T
>
struct
convert
;
struct
convert
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment