Re: [boost] Re: MPL::lambda on MSVC

2003-03-30 Thread David Abrahams
"Jaap Suter" <[EMAIL PROTECTED]> writes: >> The error occurs on the line with the boost static constant. > > Never mind that, I changed the code after I wrote the message. > > Here's the code in hopefully better formatting. Looks to me like this code has the exact same problem. -- Dave Abrahams

Re: [boost] Re: MPL Lambda on MSVC 7

2003-01-12 Thread David Abrahams
"Jaap Suter" <[EMAIL PROTECTED]> writes: >> > Hi, >> >> Hi Jaap, > > Wow, fast reply. Thanks! > >> including MSVC 6.5/7.0 (assuming the latest CVS sources). Or are you using >> the 1.29.0 archive? > > I have the latest CVS sources (I did a full 'get' over the 1_29_0 release in > case you wonder wh

RE: [boost] Re: MPL Lambda on MSVC 7

2003-01-12 Thread Aleksey Gurtovoy
Jaap Suter wrote: > So I tried to come up with the actual smallest example that > doesn't compile, even > with the LAMBDA_SUPPORT macro. It looks as follows: > > template< class T > > struct meta_fun_1 > { > typedef mpl::integral_c< typename T::value_type, 0 > type; > BOOST_MPL_AUX_LAMBDA

RE: [boost] Re: [MPL Lambda]

2002-11-22 Thread Aleksey Gurtovoy
David B. Held wrote: > > For your own metafunctions, you have to intrude them a > > little bit, but otherwise it works as well: > > > > template< typename T > struct f > > { > > typedef T type; > > BOOST_MPL_AUX_LAMBDA_SUPPORT(1,f,(T)) // here > > }; > > [...] > > I as

Re: [boost] Re: MPL lambda

2002-11-15 Thread Dirk Gerrits
Mat Marcus wrote: Scatter hierarchies can be achieved by using inherit_linearly together with mpl::inherit. See the second example that Aleksey cited *is* an example of a scatter hierarchy. Forgive me, I hadn't realized this. That's just too cool! :) Thanks. Regards, Dirk Gerrits

Re: [boost] Re: MPL lambda

2002-11-15 Thread Mat Marcus
Scatter hierarchies can be achieved by using inherit_linearly together with mpl::inherit. See the second example that Aleksey cited *is* an example of a scatter hierarchy.