2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-27 19:12:16 +00:00

Patches for Codegear C++ Builder 2009

[SVN r48981]
This commit is contained in:
Nicola Musatti
2008-09-27 08:59:20 +00:00
340 changed files with 2944 additions and 1721 deletions

4
test/borrowed.cpp Executable file → Normal file
View File

@@ -9,13 +9,13 @@
using namespace boost::python;
template <class T>
void assert_borrowed_ptr(T const& x)
void assert_borrowed_ptr(T const&)
{
BOOST_STATIC_ASSERT(boost::python::detail::is_borrowed_ptr<T>::value);
}
template <class T>
void assert_not_borrowed_ptr(T const& x)
void assert_not_borrowed_ptr(T const&)
{
BOOST_STATIC_ASSERT(!boost::python::detail::is_borrowed_ptr<T>::value);
}