Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Pitiot
CGoGN
Commits
4491d791
Commit
4491d791
authored
Jul 18, 2012
by
Sylvain Thery
Browse files
add long long to recognized type
parent
5e5d221c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Utils/nameTypes.h
View file @
4491d791
...
@@ -46,6 +46,10 @@ template <> inline std::string nameOfType(const int& v) { return "int"; }
...
@@ -46,6 +46,10 @@ template <> inline std::string nameOfType(const int& v) { return "int"; }
template
<
>
inline
std
::
string
nameOfType
(
const
long
int
&
v
)
{
return
"long int"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
long
int
&
v
)
{
return
"long int"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
long
long
&
v
)
{
return
"long long"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
unsigned
long
long
&
v
)
{
return
"long long"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
unsigned
char
&
v
)
{
return
"unsigned char"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
unsigned
char
&
v
)
{
return
"unsigned char"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
unsigned
short
int
&
v
)
{
return
"unsigned short int"
;
}
template
<
>
inline
std
::
string
nameOfType
(
const
unsigned
short
int
&
v
)
{
return
"unsigned short int"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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