Boost logo

Boost Users :

Subject: Re: [Boost-users] what is template<typename> struct +; ?
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-01-25 00:16:08


Tan, Tom (Shanghai) wrote:
> While trying to read \boost\fusion adapt_struct.hpp and understand the
> internals of BOOST_FUSION_ADAPT_STRUCT.
> I came across this code:
>
> namespace boost { namespace mpl \
>
> { \
>
> template<typename> \
>
> struct +; \
>
>
> \
>
> //….
>
> }}
>
>
>
> Can anyone please explain what “ template<typename> struct +; “
>
> means here? I am puzzled how it ever compiles as an operator is used as
> a class name.

I don't see this in adapt_struct.hpp. Which version of Boost are you
finding this in ?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net