mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
Removed flotsam
[SVN r13653]
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
# include <boost/python/has_back_reference.hpp>
|
||||
# include <boost/python/detail/not_specified.hpp>
|
||||
# include <boost/python/detail/pointee.hpp>
|
||||
# include <boost/python/detail/if_else.hpp>
|
||||
# include <boost/python/object/value_holder.hpp>
|
||||
# include <boost/python/object/pointer_holder.hpp>
|
||||
# include <boost/type.hpp>
|
||||
# include <boost/mpl/select_type.hpp>
|
||||
# include <boost/type_traits/same_traits.hpp>
|
||||
|
||||
namespace boost { namespace python { namespace objects {
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
template <unsigned size>
|
||||
struct choose
|
||||
{
|
||||
#if 1
|
||||
typedef typename boost::python::detail::if_<
|
||||
(sizeof(c1) == size)
|
||||
>::template then<
|
||||
@@ -33,21 +32,6 @@ struct choose
|
||||
>::template then<
|
||||
c4
|
||||
>::template else_<void*>::type type;
|
||||
#else
|
||||
typedef typename boost::python::detail::if_<
|
||||
(sizeof(c1) == size)
|
||||
, c1
|
||||
>::template elif<
|
||||
(sizeof(c2) == size)
|
||||
, c2
|
||||
>::template elif<
|
||||
(sizeof(c3) == size)
|
||||
, c3
|
||||
>::template elif<
|
||||
(sizeof(c4) == size)
|
||||
, c4
|
||||
>::template else_<void*>::type type;
|
||||
#endif
|
||||
};
|
||||
|
||||
int main()
|
||||
|
||||
Reference in New Issue
Block a user