![]() |
Boost : |
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2025-05-06 23:28:30
> You mean like this?
> BOOST_OPENMETHOD(poke, (std::ostream& a, virtual_ptr<Animal> b) -> void)
>
> That's possible. You can get a function type by prepending auto, which
> can be used for most template parameters and (with some metaprogramming)
> the return type.
I'll try. That was the "problem" that jumped to my eyes. Perhaps it's
not the only one, and if not, perhaps you'll come up with a solution
if I fail to find one ;-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk