Hi all,
I try to use boost.type_erasure (boost 1.59) with forward declared type
as shown below:
================================================
#include
;
int main() {
Any obj;
}
================================================
However, the compiler (e.g. clang) complains about incomplete type:
================================================
/usr/local/include/boost/type_traits/is_base_and_derived.hpp:228:42:
error: incomplete type 'Type' used in type trait expression
BOOST_STATIC_CONSTANT(bool, value = (BOOST_IS_BASE_OF(B,D) && !
::boost::is_same