On Jul 11, 1:11 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> I am trying to use the constructor of hashsets, that defines the
> minimum bucket size, but it does not compile.
>
> // This line compiles:
> typename __gnu_cxx::hash_set< PointerTemplate, pointerHashFunction,
> pointerEqualityFunction >
>                         m_hsPointerSet;
>
> // This line does not work:
> typename __gnu_cxx::hash_set< PointerTemplate, pointerHashFunction,
> pointerEqualityFunction >
>                         m_hsPointerSet( 10 );
>
> I have tried several casts to size_t but g++ simply won't accept it.
> Could you tell me, what I am doing wrong?

Please provide the compiler version and error message.

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to