[C++-sig] NOTICE

Achim Domma achim.domma at syynx.de
Sun Jun 16 23:40:38 CEST 2002


> -----Original Message-----
> From: c++-sig-admin at python.org [mailto:c++-sig-admin at python.org]On
> Behalf Of David Abrahams
>
> Please post what you had; I'll try to come up with a translation

something like this, where MagickLib::AlignType is an enum:

template <>
struct from_python<MagickLib::AlignType> : private boost::noncopyable 
{
	from_python(PyObject*){};
	bool convertible() const {return true;};
	MagickLib::AlignType operator()(PyObject*) const { ... };
};








More information about the Cplusplus-sig mailing list