[C++-sig] wrapping typedef equivalent types
Neal Becker
ndbecker2 at gmail.com
Wed Oct 19 16:48:35 CEST 2005
What happens if, using boost::python, I try to wrap 2 type equivalent
classes?
For example (this is a trivial example):
class_<int>...
class_<int32_t>...
where int == int32_t
My real objective is to wrap classes
template<int_t> class X {};
where int_t is
int (natural int size)
int32_t (force 32-bit)
int64_t (force 64-bit)
Can wrapped X<int>, X<int32_t>, X<int64_t> co-exist in the same python
module?
More information about the Cplusplus-sig
mailing list