Re: [Boost-users] [proto] need explanation in implementing distributive law
Hi Andrew, it compiles on my side. Thx for ur improvement. Cheers, Kim Andrew Durward schrieb:
As a follow-up, the attached code seems to compile and yield the expected result.
andrew
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On 3/23/2010 9:30 AM, Kim Kuen Tang wrote:
Andrew Durward schrieb:
As a follow-up, the attached code seems to compile and yield the expected result.
it compiles on my side. Thx for ur improvement.
Nice to see proto users helping each other! One comment:
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1500)) #define _left callproto::_left #define _right callproto::_right
I can't imagine the above two have any effect at all.
#define _make_plus(x,y) callproto::_make_plus(x,y) #define _make_multiplies(x,y) callproto::_make_multiplies(x,y)
Yes, these two make sense because msvc has such a hard time with nested function types. Let's hope they get their act together. -- Eric Niebler BoostPro Computing http://www.boostpro.com
Hi Eric and thanks much for your excellent library,
Nice to see proto users helping each other!
Speaking for myself, I need all the help I can get ;)
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1500)) #define _left callproto::_left #define _right callproto::_right
I can't imagine the above two have any effect at all.
Whoops, I think what I meant there was: #define _left(x) callproto::_left(x) #define _right(x) callproto::_right(x) Which I stole from another thread on this list: http://lists.boost.org/boost-users/2009/01/44162.php Thanks, andrew PS - If you have a moment to spare, would you mind having a peek at the proto thread I started recently? I'm really stumped :( http://lists.boost.org/boost-users/2010/03/57579.php
participants (3)
-
Andrew Durward
-
Eric Niebler
-
Kim Kuen Tang