1 Jun
2010
1 Jun
'10
4:05 p.m.
Hi there, Did anyone write up a small C++ wrapper class when one want to use C-struct as part of boost::variant. When using C-struct boost::variant fails with: /usr/include/boost/variant/variant.hpp:294: error: request for member ‘~__mpfr_struct [1]’ in ‘operand’, which is of non-class type ‘__mpfr_struct [1]’ make[2]: *** [CMakeFiles/variant_mpfr.dir/variant_mpfr.cxx.o] Error 1 Thanks ! -- Mathieu