Re: [C++-sig] [Boost.Python v3] Conversions and Registries

2011-09-20 Thread Niall Douglas
On 20 Sep 2011 at 12:38, Jim Bosch wrote: > I'd also considered having a different set of template conversions that > are checked first for performance reasons, but I'd actually viewed the > override preference argument from the opposite direction - once a > template converter traits class has

Re: [C++-sig] [Boost.Python v3] Conversions and Registries

2011-09-20 Thread Jim Bosch
On 09/20/2011 11:06 AM, Niall Douglas wrote: On 19 Sep 2011 at 17:03, Jim Bosch wrote: I'd like to see support for static, template-based conversions. These would be defined by [partial-]specializing a traits class, and I tend to think they should only be invoked after attempting all registry-

Re: [C++-sig] [Boost.Python v3] Conversions and Registries

2011-09-20 Thread Niall Douglas
On 19 Sep 2011 at 17:03, Jim Bosch wrote: > I'd like to see support for static, template-based conversions. These > would be defined by [partial-]specializing a traits class, and I tend to > think they should only be invoked after attempting all registry-based > conversions. Surely not! You'