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
OpenDAS
dlib
Commits
5858f61a
Commit
5858f61a
authored
Mar 18, 2018
by
Davis King
Browse files
A bit of cleanup
parent
88834d34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dlib/serialize.h
dlib/serialize.h
+5
-1
No files found.
dlib/serialize.h
View file @
5858f61a
...
@@ -194,6 +194,7 @@ namespace dlib
...
@@ -194,6 +194,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
/*!A ramdump information !*/
template
<
typename
T
>
template
<
typename
T
>
struct
ramdump_t
struct
ramdump_t
{
{
...
@@ -223,7 +224,10 @@ namespace dlib
...
@@ -223,7 +224,10 @@ namespace dlib
// This function just makes a ramdump that wraps an object.
// This function just makes a ramdump that wraps an object.
template
<
typename
T
>
template
<
typename
T
>
ramdump_t
<
typename
std
::
remove_reference
<
T
>::
type
>
ramdump
(
T
&&
item
)
{
return
ramdump_t
<
typename
std
::
remove_reference
<
T
>::
type
>
(
item
);
}
ramdump_t
<
typename
std
::
remove_reference
<
T
>::
type
>
ramdump
(
T
&&
item
)
{
return
ramdump_t
<
typename
std
::
remove_reference
<
T
>::
type
>
(
item
);
}
template
<
template
<
...
...
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