Boost logo

Boost Users :

Subject: [Boost-users] [Phoenix] Restricting actors
From: paul Fultz (pfultz2_at_[hidden])
Date: 2012-10-17 12:02:09


Hello,

I was wondering if there was a way to restrict actors(rather than extend them). That is, I would like to create an actor that only supports say the `+` operator. Right now, if I inherit from `actor` it will bring in all the C++ operators. Is there a different base class I can inherit from? Or is it even possible?

Thanks,
Paul


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net