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
99089bf2
Commit
99089bf2
authored
Nov 15, 2010
by
Jesse Beder
Browse files
Added long long types to the emitter
parent
e293d4af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/yaml-cpp/emitter.h
include/yaml-cpp/emitter.h
+2
-0
No files found.
include/yaml-cpp/emitter.h
View file @
99089bf2
...
...
@@ -138,6 +138,8 @@ namespace YAML
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
unsigned
short
v
)
{
return
emitter
.
WriteIntegralType
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
long
v
)
{
return
emitter
.
WriteIntegralType
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
unsigned
long
v
)
{
return
emitter
.
WriteIntegralType
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
long
long
v
)
{
return
emitter
.
WriteIntegralType
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
unsigned
long
long
v
)
{
return
emitter
.
WriteIntegralType
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
float
v
)
{
return
emitter
.
WriteStreamable
(
v
);
}
inline
Emitter
&
operator
<<
(
Emitter
&
emitter
,
double
v
)
{
return
emitter
.
WriteStreamable
(
v
);
}
...
...
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