this patch still not apply
Levente Farkas
lfarkas@mindmaker.hu
Fri Nov 17 02:58:00 GMT 2000
Gabriel Dos Reis wrote:
>
> Levente Farkas <lfarkas@mindmaker.hu> writes:
>
> | hi,
> | this patch still not apply:
> | http://sources.redhat.com/ml/libstdc++/2000-11/msg00001.html
>
> * include/bits/std_bitset.h (_M_do_find_first): Define as inline
> function, since this function is fully specialized and in header
> file. This function should have to be a __STL_TEMPLATE_NULL but
> there is a gcc bug, so I put it into a comment.
> (_M_do_find_next): Same.
>
> The ChangLog entry is inaccurate althought the patch is technically
> correct: the definition of the member function
> _Base_bitset<1>::_M_do_find_first() is not a specialization. It is a
> definition of a member function of a class template specialization, or
> in English it is not an explicit specialization. So there is no bug
> in GCC in that respect. Is the followiing entry OK with you?
>
> * include/bits/std_bitset.h (_M_do_find_first): Define as inline
> function. Remove __STL_TEMPLATE_NULL since this definition is
> not a specialization.
> (_M_do_find_next): Likewise.
ok. I always learn something:-)))
-- Levente http://petition.eurolinux.org/index_html
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."
More information about the Libstdc++
mailing list