[C++-sig] r-value converter

Piotr Jaroszyński p.jaroszynski at gmail.com
Sun Jun 17 21:16:16 CEST 2007


> 2) Some of the functions taking PackageDepSpec want
> shared_ptr<PackageDepSpec> - how can I make a converter to that type?

Ok, that was easy, type_id<shared_ptr<PackageDepSpec> > did the trick.

And btw. If you think r-value converter is not the right way, tell me, too. I 
just couldn't think of anything else.

-- 
Best Regards,
Piotr Jaroszyński



More information about the Cplusplus-sig mailing list