[C++-sig] boost::any

Jens Finkhäuser jens at unwesen.de
Thu Feb 23 09:11:59 CET 2006


Hi!

> IIUC, for all user-defined types, Boost.Python searches for converters at
> runtime, not at compile-time. However, conversion of built-in types is highly
> optimized and the converters are actually determined at compile-time.
  Ok, I remembered that wrong then.

> Unless I am overlooking something fundamental (I've never worked with
> boost::any) I think you can make this work really nicely.
  Yeah, I think it would work. If, as you say, boost::python picks
converters at runtime, there's no point to the class structure thing I
mentioned previously.

Have fun,
    Jens



More information about the Cplusplus-sig mailing list