Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71907 - in sandbox/property: boost/property libs/property/test
From: eldiener_at_[hidden]
Date: 2011-05-12 17:03:31


Author: eldiener
Date: 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
New Revision: 71907
URL: http://svn.boost.org/trac/boost/changeset/71907

Log:
Fixed bug and updated tests.
Added:
   sandbox/property/libs/property/test/test_callable_value.hpp (contents, props changed)
   sandbox/property/libs/property/test/test_data.cpp (contents, props changed)
   sandbox/property/libs/property/test/test_data.hpp (contents, props changed)
   sandbox/property/libs/property/test/test_data_value.hpp (contents, props changed)
   sandbox/property/libs/property/test/test_member_data.hpp (contents, props changed)
Text files modified:
   sandbox/property/boost/property/property_data_value.hpp | 2
   sandbox/property/boost/property/property_exception.hpp | 6 +-
   sandbox/property/libs/property/test/test_auto_predicate.hpp | 54 ++++----------------------------
   sandbox/property/libs/property/test/test_auto_value.hpp | 66 ++++-----------------------------------
   sandbox/property/libs/property/test/test_callable_value_bool.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_character.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_enum.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_floating_point.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_integer.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_pointer.cpp | 2
   sandbox/property/libs/property/test/test_callable_value_user_defined.cpp | 2
   sandbox/property/libs/property/test/test_data_value_bool.cpp | 4 +
   12 files changed, 29 insertions(+), 117 deletions(-)

Modified: sandbox/property/boost/property/property_data_value.hpp
==============================================================================
--- sandbox/property/boost/property/property_data_value.hpp (original)
+++ sandbox/property/boost/property/property_data_value.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -199,7 +199,7 @@
 
   template <class T, T *d,template <class> class NotificationPolicy>
   struct prop_data<T,d,NotificationPolicy,read_write_tag> :
- prop_data<T,d,NotificationPolicy,read_tag> ,
+ prop_data<T,d,default_policy_tag,read_tag> ,
     prop_data<T,d,NotificationPolicy,write_tag>,
     i_property_read_write<T>
   {

Modified: sandbox/property/boost/property/property_exception.hpp
==============================================================================
--- sandbox/property/boost/property/property_exception.hpp (original)
+++ sandbox/property/boost/property/property_exception.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -6,7 +6,7 @@
 namespace properties
 {
 
- class property_read_exception : std::runtime_error
+ class property_read_exception : public std::runtime_error
   {
   
     public:
@@ -14,7 +14,7 @@
     property_read_exception() : std::runtime_error("") { }
   };
 
- class property_write_exception : std::runtime_error
+ class property_write_exception : public std::runtime_error
   {
   
     public:
@@ -22,7 +22,7 @@
     property_write_exception() : std::runtime_error("") { }
   };
 
- class property_index_exception : std::runtime_error
+ class property_index_exception : public std::runtime_error
   {
   
     public:

Modified: sandbox/property/libs/property/test/test_auto_predicate.hpp
==============================================================================
--- sandbox/property/libs/property/test/test_auto_predicate.hpp (original)
+++ sandbox/property/libs/property/test/test_auto_predicate.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -8,26 +8,11 @@
 
 using namespace properties;
 
-extern prop_auto_predicate<char> p_gl_char_pred;
-extern prop_auto_predicate<int> p_gl_int_pred;
-extern prop_auto_predicate<double> p_gl_double_pred;
-extern prop_auto_predicate<test_enum> p_gl_enum_pred;
-
-extern prop_auto_predicate<char,notification_boost_function> p_gl_char_pred_ntf;
+extern prop_auto_predicate<char,notification_boost_function,predicate_failure_runtime_exception> p_gl_char_pred_ntf_err;
 extern prop_auto_predicate<int,notification_boost_function> p_gl_int_pred_ntf;
-extern prop_auto_predicate<double,notification_boost_function> p_gl_double_pred_ntf;
-extern prop_auto_predicate<test_enum,notification_boost_function> p_gl_enum_pred_ntf;
-
-extern prop_auto_predicate<char,default_policy_tag,predicate_failure_runtime_exception> p_gl_char_pred_err;
-extern prop_auto_predicate<int,default_policy_tag,predicate_failure_runtime_exception> p_gl_int_pred_err;
 extern prop_auto_predicate<double,default_policy_tag,predicate_failure_runtime_exception> p_gl_double_pred_err;
-extern prop_auto_predicate<test_enum,default_policy_tag,predicate_failure_runtime_exception> p_gl_enum_pred_err;
+extern prop_auto_predicate<test_enum> p_gl_enum_pred;
 
-extern prop_auto_predicate<char,notification_boost_function,predicate_failure_runtime_exception> p_gl_char_pred_ntf_err;
-extern prop_auto_predicate<int,notification_boost_function,predicate_failure_runtime_exception> p_gl_int_pred_ntf_err;
-extern prop_auto_predicate<double,notification_boost_function,predicate_failure_runtime_exception> p_gl_double_pred_ntf_err;
-extern prop_auto_predicate<test_enum,notification_boost_function,predicate_failure_runtime_exception> p_gl_enum_pred_ntf_err;
-
 class p_auto_class
   {
   
@@ -35,40 +20,15 @@
   
   p_auto_class();
   
- prop_auto_predicate<char> p_char_pred;
- prop_auto_predicate<int> p_int_pred;
- prop_auto_predicate<double> p_double_pred;
- prop_auto_predicate<test_enum> p_enum_pred;
-
- prop_auto_predicate<char,notification_boost_function> p_char_pred_ntf;
- prop_auto_predicate<int,notification_boost_function> p_int_pred_ntf;
- prop_auto_predicate<double,notification_boost_function> p_double_pred_ntf;
- prop_auto_predicate<test_enum,notification_boost_function> p_enum_pred_ntf;
-
- prop_auto_predicate<char,default_policy_tag,predicate_failure_runtime_exception> p_char_pred_err;
- prop_auto_predicate<int,default_policy_tag,predicate_failure_runtime_exception> p_int_pred_err;
- prop_auto_predicate<double,default_policy_tag,predicate_failure_runtime_exception> p_double_pred_err;
- prop_auto_predicate<test_enum,default_policy_tag,predicate_failure_runtime_exception> p_enum_pred_err;
-
   prop_auto_predicate<char,notification_boost_function,predicate_failure_runtime_exception> p_char_pred_ntf_err;
- prop_auto_predicate<int,notification_boost_function,predicate_failure_runtime_exception> p_int_pred_ntf_err;
+ prop_auto_predicate<int> p_int_pred;
   prop_auto_predicate<double,notification_boost_function,predicate_failure_runtime_exception> p_double_pred_ntf_err;
- prop_auto_predicate<test_enum,notification_boost_function,predicate_failure_runtime_exception> p_enum_pred_ntf_err;
-
- static prop_auto_predicate<char,notification_boost_function> p_st_char_pred_ntf;
- static prop_auto_predicate<int,notification_boost_function> p_st_int_pred_ntf;
- static prop_auto_predicate<double,notification_boost_function> p_st_double_pred_ntf;
- static prop_auto_predicate<test_enum,notification_boost_function> p_st_enum_pred_ntf;
-
- static prop_auto_predicate<char,default_policy_tag,predicate_failure_runtime_exception> p_st_char_pred_err;
- static prop_auto_predicate<int,default_policy_tag,predicate_failure_runtime_exception> p_st_int_pred_err;
- static prop_auto_predicate<double,default_policy_tag,predicate_failure_runtime_exception> p_st_double_pred_err;
- static prop_auto_predicate<test_enum,default_policy_tag,predicate_failure_runtime_exception> p_st_enum_pred_err;
+ prop_auto_predicate<test_enum,default_policy_tag,predicate_failure_runtime_exception> p_enum_pred_err;
   
- static prop_auto_predicate<char,notification_boost_function,predicate_failure_runtime_exception> p_st_char_pred_ntf_err;
+ static prop_auto_predicate<char> p_st_char_pred;
   static prop_auto_predicate<int,notification_boost_function,predicate_failure_runtime_exception> p_st_int_pred_ntf_err;
- static prop_auto_predicate<double,notification_boost_function,predicate_failure_runtime_exception> p_st_double_pred_ntf_err;
- static prop_auto_predicate<test_enum,notification_boost_function,predicate_failure_runtime_exception> p_st_enum_pred_ntf_err;
+ static prop_auto_predicate<double,default_policy_tag,predicate_failure_runtime_exception> p_st_double_pred_err;
+ static prop_auto_predicate<test_enum,notification_boost_function> p_st_enum_pred_ntf;
   
   };
   

Modified: sandbox/property/libs/property/test/test_auto_value.hpp
==============================================================================
--- sandbox/property/libs/property/test/test_auto_value.hpp (original)
+++ sandbox/property/libs/property/test/test_auto_value.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -10,27 +10,11 @@
 using namespace properties;
 
 extern prop_auto<char> p_gl_char;
-extern prop_auto<int> p_gl_int;
+extern prop_auto<int,default_policy_tag,read_tag> p_gl_int_const;
 extern prop_auto<double> p_gl_double;
 extern prop_auto<bool> p_gl_bool;
-extern prop_auto<int *> p_gl_pointer;
-extern prop_auto<test_enum> p_gl_enum;
-extern prop_auto<test_pod> p_gl_class;
-
-extern prop_auto<char const> p_gl_char_const;
-extern prop_auto<int,default_policy_tag,read_tag> p_gl_int_const;
-extern prop_auto<double const> p_gl_double_const;
-extern prop_auto<bool,default_policy_tag,read_tag> p_gl_bool_const;
 extern prop_auto<int * const> p_gl_pointer_const;
-extern prop_auto<test_enum,default_policy_tag,read_tag> p_gl_enum_const;
-extern prop_auto<test_pod const> p_gl_class_const;
-
-extern prop_auto<char,notification_boost_function> p_gl_char_ntf;
-extern prop_auto<int,notification_boost_function> p_gl_int_ntf;
-extern prop_auto<double,notification_boost_function> p_gl_double_ntf;
-extern prop_auto<bool,notification_boost_function> p_gl_bool_ntf;
-extern prop_auto<int *,notification_boost_function> p_gl_pointer_ntf;
-extern prop_auto<test_enum,notification_boost_function> p_gl_enum_ntf;
+extern prop_auto<test_enum> p_gl_enum;
 extern prop_auto<test_pod,notification_boost_function> p_gl_class_ntf;
 
 class p_auto_class
@@ -40,60 +24,26 @@
   
   p_auto_class();
   
- prop_auto<char> p_char;
+ prop_auto<char,notification_boost_function> p_char_ntf;
   prop_auto<int> p_int;
- prop_auto<double> p_double;
+ prop_auto<double,notification_boost_function> p_double_ntf;
   prop_auto<bool> p_bool;
   prop_auto<int *> p_pointer;
- prop_auto<test_enum> p_enum;
- prop_auto<test_pod> p_class;
-
- prop_auto<char const> p_char_const;
- prop_auto<int,default_policy_tag,read_tag> p_int_const;
- prop_auto<double const> p_double_const;
- prop_auto<bool,default_policy_tag,read_tag> p_bool_const;
- prop_auto<int * const> p_pointer_const;
   prop_auto<test_enum,default_policy_tag,read_tag> p_enum_const;
- prop_auto<test_pod const> p_class_const;
-
- prop_auto<char,notification_boost_function> p_char_ntf;
- prop_auto<int,notification_boost_function> p_int_ntf;
- prop_auto<double,notification_boost_function> p_double_ntf;
- prop_auto<bool,notification_boost_function> p_bool_ntf;
- prop_auto<int *,notification_boost_function> p_pointer_ntf;
- prop_auto<test_enum,notification_boost_function> p_enum_ntf;
- prop_auto<test_pod,notification_boost_function> p_class_ntf;
+ prop_auto<test_pod> p_class;
   
   static prop_auto<char> p_st_char;
- static prop_auto<int> p_st_int;
- static prop_auto<double> p_st_double;
- static prop_auto<bool> p_st_bool;
- static prop_auto<int *> p_st_pointer;
- static prop_auto<test_enum> p_st_enum;
- static prop_auto<test_pod> p_st_class;
-
- static prop_auto<char const> p_st_char_const;
   static prop_auto<int,default_policy_tag,read_tag> p_st_int_const;
- static prop_auto<double const> p_st_double_const;
- static prop_auto<bool,default_policy_tag,read_tag> p_st_bool_const;
- static prop_auto<int * const> p_st_pointer_const;
- static prop_auto<test_enum,default_policy_tag,read_tag> p_st_enum_const;
- static prop_auto<test_pod const> p_st_class_const;
-
- static prop_auto<char,notification_boost_function> p_st_char_ntf;
- static prop_auto<int,notification_boost_function> p_st_int_ntf;
- static prop_auto<double,notification_boost_function> p_st_double_ntf;
+ static prop_auto<double> p_st_double;
   static prop_auto<bool,notification_boost_function> p_st_bool_ntf;
- static prop_auto<int *,notification_boost_function> p_st_pointer_ntf;
+ static prop_auto<int *> p_st_pointer;
   static prop_auto<test_enum,notification_boost_function> p_st_enum_ntf;
- static prop_auto<test_pod,notification_boost_function> p_st_class_ntf;
+ static prop_auto<test_pod const> p_st_class_const;
   
   private:
   
   int some_int;
- int some_int_const;
   static int st_some_int;
- static int st_some_int_const;
   
   };
   

Added: sandbox/property/libs/property/test/test_callable_value.hpp
==============================================================================
--- (empty file)
+++ sandbox/property/libs/property/test/test_callable_value.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -0,0 +1,49 @@
+#if !defined(TEST_CALLABLE_VALUE_HPP)
+#define TEST_CALLABLE_VALUE_HPP
+
+#include "test_enum.hpp"
+#include "test_pod.hpp"
+#include "test_global_data.hpp"
+#include <boost/property/property_callable_value.hpp>
+
+using namespace properties;
+
+extern prop_callable<char> p_gl_char;
+extern prop_callable<int> p_gl_int;
+extern prop_callable<double const> p_gl_double_const;
+extern prop_callable<bool> p_gl_bool;
+extern prop_callable<int *> p_gl_pointer;
+extern prop_callable<test_enum,read_tag> p_gl_enum_const;
+extern prop_callable<test_pod const> p_gl_class_const;
+
+class p_callable_class
+ {
+
+ public:
+
+ p_callable_class();
+
+ prop_callable<char> p_char;
+ prop_callable<int,read_tag> p_int_const;
+ prop_callable<double> p_double;
+ prop_callable<bool,read_tag> p_bool_const;
+ prop_callable<int * const> p_pointer_const;
+ prop_callable<test_enum,read_tag> p_enum_const;
+ prop_callable<test_pod> p_class;
+
+ static prop_callable<char> p_st_char;
+ static prop_callable<int> p_st_int;
+ static prop_callable<double> p_st_double;
+ static prop_callable<bool> p_st_bool;
+ static prop_callable<int * const> p_st_pointer_const;
+ static prop_callable<test_enum> p_st_enum;
+ static prop_callable<test_pod const> p_st_class_const;
+
+ private:
+
+ int some_int_const;
+ static int st_some_int_const;
+
+ };
+
+#endif

Modified: sandbox/property/libs/property/test/test_callable_value_bool.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_bool.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_bool.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_character.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_character.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_character.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_enum.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_enum.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_enum.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_floating_point.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_floating_point.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_floating_point.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_integer.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_integer.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_integer.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_pointer.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_pointer.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_pointer.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Modified: sandbox/property/libs/property/test/test_callable_value_user_defined.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_callable_value_user_defined.cpp (original)
+++ sandbox/property/libs/property/test/test_callable_value_user_defined.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_callable_value.hpp>
+#include "test_callable_value.hpp"
 
 int main()
   {

Added: sandbox/property/libs/property/test/test_data.cpp
==============================================================================
--- (empty file)
+++ sandbox/property/libs/property/test/test_data.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -0,0 +1,25 @@
+#include "test_data.hpp"
+
+char p_data_char;
+int p_data_int;
+double p_data_double;
+bool p_data_bool;
+int * p_data_pointer;
+test_enum p_data_enum;
+test_pod p_data_class;
+
+char p_data_class::p_char;
+int p_data_class::p_int;
+double p_data_class::p_double;
+bool p_data_class::p_bool;
+int * p_data_class::p_pointer;
+test_enum p_data_class::p_enum;
+test_pod p_data_class::p_class;
+
+char p_data_class::p_char_2;
+int p_data_class::p_int_2;
+double p_data_class::p_double_2;
+bool p_data_class::p_bool_2;
+int * p_data_class::p_pointer_2;
+test_enum p_data_class::p_enum_2;
+test_pod p_data_class::p_class_2;

Added: sandbox/property/libs/property/test/test_data.hpp
==============================================================================
--- (empty file)
+++ sandbox/property/libs/property/test/test_data.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -0,0 +1,38 @@
+#if !defined(TEST_DATA_HPP)
+#define TEST_DATA_HPP
+
+#include "test_enum.hpp"
+#include "test_pod.hpp"
+
+extern char p_data_char;
+extern int p_data_int;
+extern double p_data_double;
+extern bool p_data_bool;
+extern int * p_data_pointer;
+extern test_enum p_data_enum;
+extern test_pod p_data_class;
+
+class p_data_class
+ {
+
+ public:
+
+ static char p_char;
+ static int p_int;
+ static double p_double;
+ static bool p_bool;
+ static int * p_pointer;
+ static test_enum p_enum;
+ static test_pod p_class;
+
+ static char p_char_2;
+ static int p_int_2;
+ static double p_double_2;
+ static bool p_bool_2;
+ static int * p_pointer_2;
+ static test_enum p_enum_2;
+ static test_pod p_class_2;
+
+ };
+
+#endif

Added: sandbox/property/libs/property/test/test_data_value.hpp
==============================================================================
--- (empty file)
+++ sandbox/property/libs/property/test/test_data_value.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -0,0 +1,51 @@
+#if !defined(TEST_DATA_VALUE_HPP)
+#define TEST_DATA_VALUE_HPP
+
+#include "test_enum.hpp"
+#include "test_pod.hpp"
+#include "test_global_data.hpp"
+#include "test_data.hpp"
+#include <boost/property/property_data_value.hpp>
+#include <boost/property/property_notification_boost_function.hpp>
+
+using namespace properties;
+
+extern prop_data<char const,&p_data_class::p_char_2> p_gl_char_const;
+extern prop_data<int,&p_data_int> p_gl_int;
+extern prop_data<double const,&p_data_double> p_gl_double_const;
+extern prop_data<bool,&p_data_class::p_bool,default_policy_tag,read_tag> p_gl_bool;
+extern prop_data<int *,&p_data_pointer,notification_boost_function> p_gl_pointer_ntf;
+extern prop_data<test_enum,&p_data_class::p_enum_2,notification_boost_function> p_gl_enum_ntf;
+extern prop_data<test_pod,&p_data_class,notification_boost_function> p_gl_class_ntf;
+
+class p_data_value_class
+ {
+
+ public:
+
+ p_data_value_class();
+
+ prop_data<char,&p_data_char> p_char;
+ prop_data<int,&p_data_class::p_int_2> p_int;
+ prop_data<double,&p_data_class::p_double,notification_boost_function> p_double_ntf;
+ prop_data<bool,&p_data_class::p_bool_2> p_bool;
+ prop_data<int *,&p_data_class::p_pointer> p_pointer;
+ prop_data<test_enum,&p_data_class::p_enum,default_policy_tag,read_tag> p_enum_const;
+ prop_data<test_pod,&p_data_class::p_class> p_class;
+
+ static prop_data<char,&p_data_class::p_char> p_st_char;
+ static prop_data<int,&p_data_class::p_int> p_st_int;
+ static prop_data<double const,&p_data_class::p_double_2> p_st_double_const;
+ static prop_data<bool,&p_data_bool> p_st_bool;
+ static prop_data<int *,&p_data_class::p_pointer_2> p_st_pointer;
+ static prop_data<test_enum,&p_data_enum> p_st_enum;
+ static prop_data<test_pod const,&p_data_class::p_class_2> p_st_class_const;
+
+ private:
+
+ static int st_some_int;
+ static int st_some_int_2;
+
+ };
+
+#endif

Modified: sandbox/property/libs/property/test/test_data_value_bool.cpp
==============================================================================
--- sandbox/property/libs/property/test/test_data_value_bool.cpp (original)
+++ sandbox/property/libs/property/test/test_data_value_bool.cpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -1,5 +1,5 @@
 #include <boost/detail/lightweight_test.hpp>
-#include <boost/property/property_data_value.hpp>
+#include "test_data_value.hpp"
 
 int main()
   {
@@ -7,3 +7,5 @@
   return boost::report_errors();
   
   }
+
+#include "test_data.cpp"
\ No newline at end of file

Added: sandbox/property/libs/property/test/test_member_data.hpp
==============================================================================
--- (empty file)
+++ sandbox/property/libs/property/test/test_member_data.hpp 2011-05-12 17:03:29 EDT (Thu, 12 May 2011)
@@ -0,0 +1,28 @@
+#if !defined(TEST_PROPERTY_MEMBER_DATA_HPP)
+#define TEST_PROPERTY_MEMBER_DATA_HPP
+
+#include "test_enum.hpp"
+#include "test_pod.hpp"
+
+class p_member_data_class
+ {
+
+ public:
+
+ p_member_data_class();
+
+ char p_char;
+ int p_int;
+ double p_double;
+ bool p_bool;
+ int * p_pointer;
+ test_enum p_enum;
+ test_pod p_class;
+
+ private:
+
+ static int st_some_int;
+
+ };
+
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk