$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [type_erasure] BOOST_TYPE_ERASURE_MEMBER within namespace?
From: Nat Goodspeed (nat_at_[hidden])
Date: 2015-11-23 17:05:46
I find that using BOOST_TYPE_ERASURE_MEMBER within my own namespace
fails with compilation errors:
myprog.cpp:23:1: error: no template named 'concept_interface'; did you
mean '::boost::type_erasure::concept_interface'?
This is with Boost 1.57, compiled with Apple clang from Xcode 7.1.1.
Moving BOOST_TYPE_ERASURE_MEMBER to the global namespace allows
successful compilation.
I would rather avoid putting my has_member names into the global
namespace. How to achieve that?