[C++-sig] Re: 'boost::STATIC_ASSERTION_FAILURE<false>' problem ...
Pierre Barbier de Reuille
pierre.barbier at cirad.fr
Wed Jul 9 16:01:38 CEST 2003
David Abrahams wrote:
>Pierre Barbier de Reuille <pierre.barbier at cirad.fr> writes:
>
>
>>/home/barbier/apps/boost/boost/python/object/make_instance.hpp:25: `sizeof'
>> applied to incomplete type `boost::STATIC_ASSERTION_FAILURE<false>'
>>
>>
>
>Just look at the source line:
>
> BOOST_STATIC_ASSERT(is_class<T>::value);
>
>The problem is that you're trying to export a non-class type with
>class_<...>.
>
>HTH,
>
>
Ok, I checked and it was indeed a non-class type. So how can I export
this non-class type ?
In practice, it's a void* ...
Thansk,
--
Pierre Barbier de Reuille
INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France
tel : (33) 4 67 61 65 77 fax : (33) 4 67 61 56 68
More information about the Cplusplus-sig
mailing list