mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-24 18:12:27 +00:00
do not alias virtual_ptr in global namespace, 'aliases' namespace
This commit is contained in:
@@ -37,6 +37,8 @@ struct custom_registry : bom::default_registry::with<throw_if_not_implemented> {
|
||||
#include <boost/openmethod.hpp>
|
||||
#include <boost/openmethod/compiler.hpp>
|
||||
|
||||
using boost::openmethod::virtual_ptr;
|
||||
|
||||
BOOST_OPENMETHOD_CLASSES(Animal, Cat, Dog);
|
||||
|
||||
BOOST_OPENMETHOD(trick, (std::ostream&, virtual_ptr<Animal>), void);
|
||||
|
||||
Reference in New Issue
Block a user