Revision: 1155
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1155&view=rev
Author: roman_yakovenko
Date: 2007-11-14 22:57:30 -0800 (Wed, 14 Nov 2007)
Log Message:
-----------
improving is_noncopyable algorithm
Modified Paths:
--------------
pygccxml_dev/unittests/data/type_traits.hpp
Modified: pygccxml_dev/unittests/data/type_traits.hpp
===================================================================
--- pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 06:57:00 UTC (rev 1154)
+++ pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 06:57:30 UTC (rev 1155)
@@ -10,6 +10,7 @@
#include <string>
#include <iostream>
#include <vector>
+#include <set>
#include "noncopyable.hpp"
#define TYPE_PERMUTATION( BASE, NAME ) \
@@ -79,12 +80,13 @@
static const y_type zero;
};
- struct instantiate_vector{
- instantiate_vector()
- : v()
+ struct instantiate_tmpls{
+ instantiate_tmpls()
+ : v(), s()
{}
std::vector< int > v;
+ std::set< std::string > s;
};
@@ -149,6 +151,8 @@
private:
const E e_;
};
+
+
}
namespace yes{
@@ -165,6 +169,7 @@
typedef std::string string_type;
typedef detail::y_type y_type;
typedef std::vector< int > vector_of_int_type;
+ typedef std::set< std::string > string_set_type;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|