Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
879f96d2
Commit
879f96d2
authored
May 22, 2012
by
Jesse Beder
Browse files
Tweak sandbox
parent
5e0886db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
util/sandbox.cpp
util/sandbox.cpp
+2
-1
No files found.
util/sandbox.cpp
View file @
879f96d2
...
@@ -11,9 +11,10 @@ int main()
...
@@ -11,9 +11,10 @@ int main()
out
<<
YAML
::
BeginMap
<<
YAML
::
Comment
(
"b"
);
out
<<
YAML
::
BeginMap
<<
YAML
::
Comment
(
"b"
);
out
<<
"pens"
<<
YAML
::
Comment
(
"foo"
)
<<
"a"
<<
YAML
::
Comment
(
"bar"
);
out
<<
"pens"
<<
YAML
::
Comment
(
"foo"
)
<<
"a"
<<
YAML
::
Comment
(
"bar"
);
out
<<
"pencils"
<<
"b"
;
out
<<
"pencils"
<<
"b"
;
out
<<
YAML
::
EndMap
;
out
<<
YAML
::
EndMap
<<
YAML
::
Comment
(
"monkey"
)
;
out
<<
"item 2"
;
out
<<
"item 2"
;
out
<<
YAML
::
EndSeq
;
out
<<
YAML
::
EndSeq
;
out
<<
YAML
::
Comment
(
"end"
);
std
::
cout
<<
out
.
c_str
()
<<
"
\n
"
;
std
::
cout
<<
out
.
c_str
()
<<
"
\n
"
;
return
0
;
return
0
;
...
...
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