Dave (and others):

Eric Friedman wrote:
> David Abrahams wrote:
> >
> > Hi,
> >
> > BOOST_EXPLICIT_TEMPLATE_TYPE is great!
> >
> > However:
> [snip]
> >     // specialization
> >     template <>
> >     int f<void>( /*what goes here?*/ )
> >     {
> >
> >     }
> >
> > we have no mechanism for handling these.  Any ideas?
>
> Wouldn't BOOST_EXPLICIT_TEMPLATE_TYPE(void) work?

Ooops, you're right. Guess I don't know the standard well enough.

I've added BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC (and so on) helper macros to
address this problem (in config/suffix.hpp) since it's actually been
creating problems with variant under gcc. Let me know if this solution
doesn't meet your expectations.

Thanks,
Eric



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to