RE: Converting a Boost implementation of Lambda to VC8 --- Found out about the Newer boost\lambda...
In Reference to this... I found out about the Upgrade of Lambda in Boost... I have downloaded and recompiled boost with the new Lambda and will try to sort this out myself first... It will be a bit tho as I now have to recompile the other Libraries dependent on boost First before I can go back to the original problem. On a side not: The boost "HEAD" version compiles much better for VC8 then my last one (1.30) jpmythic _____________________________________________________________________ [Edited Original] Subject: [Boost-users] Converting a Boost implementation of Lambda to VC8 so it compiles The basics: New to boost. Converting a project from VC7 to VC8 that uses Lambda functionality. Other issue, (I didn't write this code... so still learning it). The problem: ----------- The original compiles in earlier compilers, but comes up with "Ambiguous" error in VC8. The original code doesn't deal with Issues with MSVC compiliers, this I found in my searches. The fix from the Searches, points me to using the following workaround: (This was posted on both boost.org and ASPN) http://aspn.activestate.com/ASPN/Mail/Message/1387917 Now I get the basics, but I am still not quite sure about the whole boost structure, so heres the code I am dealing with. 4 files, so not too bad, and only in a small section. I've got the Basic's, I am just not sure how to conver this over: [code] template< class T > struct Holder { T value; }; typedef InheritMultiple < //MythicDebug --> list< int, std::string, Widget >, --> lambda< Holder< _ > >::type --> >::type myWidgetInfo; } // inheritance [/code] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<SNIP>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
participants (1)
-
John Henry