%ignore zypp::ResPool::byKindEnd;
%ignore zypp::ResPool::byNameBegin;
%ignore zypp::ResPool::byNameEnd;
+#if (BOOST_VERSION >= 106501)
+%ignore zypp::ResPool::byStatus;
+%ignore zypp::ResPool::byStatusBegin;
+%ignore zypp::ResPool::byStatusEnd;
+#endif
%apply unsigned { zypp::ResPool::size_type };
%include <zypp/ResPool.h>
// stuff swig seems to be unable to parse
#define BOOST_NOEXCEPT
+#define BOOST_SP_NOEXCEPT
+#define BOOST_SP_NOEXCEPT_WITH_ASSERT
#define BOOST_NO_CXX11_NOEXCEPT
#define BOOST_NO_CXX11_RVALUE_REFERENCES
#define BOOST_NO_CXX11_SMART_PTR
+#if (BOOST_VERSION >= 106501)
+#define BOOST_CONSTEXPR_OR_CONST const
+#define constexpr
+#define BOOST_CONSTEXPR constexpr
+#else
#define BOOST_CONSTEXPR
#define BOOST_CONSTEXPR_OR_CONST const
#define constexpr
-
+#endif
%{
/* Includes the header in the wrapper code */
#ifdef SWIGRUBY
%include "std_string.i"
%include "stl.i"
+#if (BOOST_VERSION >= 106501)
+%import <boost/config.hpp>
+%import <boost/pointer_cast.hpp>
+#endif
+
#ifdef BOOST_SMARTPTR_INCLUDE_DIR
%import <boost/smart_ptr/scoped_ptr.hpp>
%import <boost/smart_ptr/shared_ptr.hpp>