[luabind-cvs] luabind/luabind/test test_value_wrapper.cpp,1.1.2.1,1.1.2.2
Brought to you by:
arvidn,
daniel_wallin
From: Arvid N. <ar...@us...> - 2005-10-10 00:40:02
|
Update of /cvsroot/luabind/luabind/luabind/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31573/test Modified Files: Tag: beta7-devel2 test_value_wrapper.cpp Log Message: removed unused include in class_rep.hpp and fixed value_wrapper_test for compilers not using the tags for value wrappers Index: test_value_wrapper.cpp =================================================================== RCS file: /cvsroot/luabind/luabind/luabind/test/Attic/test_value_wrapper.cpp,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- test_value_wrapper.cpp 30 Sep 2005 09:19:29 -0000 1.1.2.1 +++ test_value_wrapper.cpp 10 Oct 2005 00:39:51 -0000 1.1.2.2 @@ -39,6 +39,14 @@ typedef boost::mpl::true_ is_specialized; }; + // used on compilers supporting partial template specialization + template<> + struct value_wrapper_traits<X> + { + typedef boost::mpl::true_ is_specialized; + }; + + } // namespace luabind BOOST_MPL_ASSERT(( luabind::is_value_wrapper<X> )); @@ -55,3 +63,4 @@ int main() { } + |