Commit 7c4cc9bf by Jesse Beder

Cleaned up the read template overloads (per litb's update); it seems the old…

Cleaned up the read template overloads (per litb's update); it seems the old version didn't compile in VS2008. Also updated the VS project files.
parent fa885d18
...@@ -38,12 +38,12 @@ namespace YAML ...@@ -38,12 +38,12 @@ namespace YAML
struct flag { char c[2]; }; struct flag { char c[2]; };
flag Convert(...); flag Convert(...);
char (& operator,(flag, flag) )[1]; int operator,(flag, flag);
template<typename T> template<typename T>
void operator,(flag, T const&); void operator,(flag, T const&);
char (& operator,(char(&)[1], flag) )[1]; char operator,(int, flag);
} }
template <typename T> template <typename T>
......
...@@ -180,6 +180,10 @@ ...@@ -180,6 +180,10 @@
> >
</File> </File>
<File <File
RelativePath=".\yaml-reader\spectests.cpp"
>
</File>
<File
RelativePath=".\yaml-reader\tests.cpp" RelativePath=".\yaml-reader\tests.cpp"
> >
</File> </File>
...@@ -190,6 +194,18 @@ ...@@ -190,6 +194,18 @@
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
> >
<File <File
RelativePath=".\yaml-reader\emittertests.h"
>
</File>
<File
RelativePath=".\yaml-reader\parsertests.h"
>
</File>
<File
RelativePath=".\yaml-reader\spectests.h"
>
</File>
<File
RelativePath=".\yaml-reader\tests.h" RelativePath=".\yaml-reader\tests.h"
> >
</File> </File>
......
...@@ -192,6 +192,10 @@ ...@@ -192,6 +192,10 @@
> >
</File> </File>
<File <File
RelativePath=".\src\null.cpp"
>
</File>
<File
RelativePath=".\src\scalar.cpp" RelativePath=".\src\scalar.cpp"
> >
</File> </File>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment