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
75a2fbe5
Commit
75a2fbe5
authored
Mar 02, 2011
by
Jesse Beder
Browse files
Fixed 'long long' error in VS 2002, issue 90
parent
4d95e4da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
include/yaml-cpp/traits.h
include/yaml-cpp/traits.h
+5
-0
No files found.
include/yaml-cpp/traits.h
View file @
75a2fbe5
...
@@ -17,8 +17,13 @@ namespace YAML
...
@@ -17,8 +17,13 @@ namespace YAML
template
<
>
struct
is_numeric
<
unsigned
long
int
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
long
int
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
short
int
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
short
int
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
short
int
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
short
int
>
{
enum
{
value
=
true
};
};
#if defined(_MSC_VER) && (_MSC_VER < 1310)
template
<
>
struct
is_numeric
<
__int64
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
__int64
>
{
enum
{
value
=
true
};
};
#else
template
<
>
struct
is_numeric
<
long
long
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
long
long
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
long
long
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
unsigned
long
long
>
{
enum
{
value
=
true
};
};
#endif
template
<
>
struct
is_numeric
<
float
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
float
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
double
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
double
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
long
double
>
{
enum
{
value
=
true
};
};
template
<
>
struct
is_numeric
<
long
double
>
{
enum
{
value
=
true
};
};
...
...
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