Hi Steven,
the following code used to compile with older gcc versions (I just tried
with 4.5 and I used the same construct with 4.7) but no more with gcc 4.8,
but I don't know whether it's a gcc or type_erasure problem (or mine).
The problem seems to be with rvalue refs. If I use the commented out
version, it compiles fine on both compilers.
Any idea?
If you have no gcc 4.8, I can attach the error.
Thanks,
Christophe
#include <iostream>
#include
{} ; typedef boost::type_erasure::any
any_post;
struct any_impl
{
//void post(boost::function