Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
91780954
Commit
91780954
authored
Mar 20, 2018
by
Florian Oetke
Browse files
fixed recursion in stream output operator of util::Int<>
parent
7389599d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mirrage/utils/src/types.cpp
View file @
91780954
...
...
@@ -7,13 +7,13 @@ namespace mirrage::util {
namespace
detail
{
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
std
::
int64_t
>
v
)
{
return
os
<<
v
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
std
::
int64_t
>
v
)
{
return
os
<<
v
.
value
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
std
::
uint64_t
>
v
)
{
return
os
<<
v
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
std
::
uint64_t
>
v
)
{
return
os
<<
v
.
value
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
float
>
v
)
{
return
os
<<
v
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
float
>
v
)
{
return
os
<<
v
.
value
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
double
>
v
)
{
return
os
<<
v
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Out_wrapper
<
double
>
v
)
{
return
os
<<
v
.
value
;
}
}
// namespace detail
...
...
Write
Preview
Supports
Markdown
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