Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
75a2fbe5
Commit
75a2fbe5
authored
Mar 02, 2011
by
Jesse Beder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed 'long long' error in VS 2002, issue 90
parent
4d95e4da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
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