"Modern C++ Design" has a pretty good coverage so far (I'm on chapter 6 out
of 11).
As for impressing the ladies... well... you could always show them your
stamp collection.
--Mark Storer
Software Engineer
Cardiff Software
#include <disclaimer>
typedef std::disclaimer<Cardiff> Discard;
-----Original Message-----
From: Jeff Faust [mailto:jeff@opticalres.com]
Sent: Wednesday, October 02, 2002 12:37 PM
To: Boost-Users@yahoogroups.com
Subject: RE: [Boost-Users] MPL?
Well, I didn't know I needed boost until I saw it. Same for STL several
years back. 'Metaprogramming' comes up a lot on the boost list, but I have
no understanding about what it's for--what problems it solves. The
documentation is sparse. Then this thread comes up and everybody talks
about it like it's obvious. I dislike being baffled.
But mostly it's curiosity. I need something to talk about at parties and
impress the ladies. MPL will do that, right? Right? Hello?
Jeff
-----Original Message-----
From: David B. Held [mailto:dheld@codelogicconsulting.com]
Sent: Wednesday, October 02, 2002 12:14 PM
To: Boost-Users@yahoogroups.com
Subject: Re: [Boost-Users] MPL?
----- Original Message -----
From: "Jeff Faust"
[...] Can anybody explain in English what the following does?
I believe that Aleksey posted the runtime pseudo-equivalent.
Posted by David Abrahams on boost developers list:
Have I mentioned recently how totally cool MPL's lambda facility is? I can't believe I can do things like this, even with MSVC6. It makes my metaprograms SO much easier to manage! mpl::logical_and< is_reference_to_class
mpl::_ > , mpl::logical_not< is_reference_to_args mpl::_ >
[Aleksey, on 9/27] // "ideal" version, for comparison purposes: // is_reference_to_class( add_reference(_) ) // && !is_reference_to_args( add_reference(_) ) I can't say for sure what the code does myself, but if I could venture a guess, I would say that it's a condition for something else (maybe an iterative algorithm over a type container?) that checks to see if an argument is a reference type of various sorts. Basically, if you don't understand it, in this case, you probably don't need it. ;) I know I don't! Dave Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thanks Randy, David and Mark for your responses. I just ordered "Modern C++
Design". I've been meaning to. This was the the final push I needed.
Oh, and I'll try the stamp thing and let you know how it goes ;)
Jeff
-----Original Message-----
From: Mark Storer [mailto:mstorer@cardiff.com]
Sent: Wednesday, October 02, 2002 1:10 PM
To: 'Boost-Users@yahoogroups.com'
Subject: RE: [Boost-Users] MPL?
"Modern C++ Design" has a pretty good coverage so far (I'm on chapter 6 out
of 11).
As for impressing the ladies... well... you could always show them your
stamp collection.
--Mark Storer
Software Engineer
Cardiff Software
#include <disclaimer>
typedef std::disclaimer<Cardiff> Discard;
-----Original Message-----
From: Jeff Faust [mailto:jeff@opticalres.com]
Sent: Wednesday, October 02, 2002 12:37 PM
To: Boost-Users@yahoogroups.com
Subject: RE: [Boost-Users] MPL?
Well, I didn't know I needed boost until I saw it. Same for STL several
years back. 'Metaprogramming' comes up a lot on the boost list, but I have
no understanding about what it's for--what problems it solves. The
documentation is sparse. Then this thread comes up and everybody talks
about it like it's obvious. I dislike being baffled.
But mostly it's curiosity. I need something to talk about at parties and
impress the ladies. MPL will do that, right? Right? Hello?
Jeff
-----Original Message-----
From: David B. Held [mailto:dheld@codelogicconsulting.com]
Sent: Wednesday, October 02, 2002 12:14 PM
To: Boost-Users@yahoogroups.com
Subject: Re: [Boost-Users] MPL?
----- Original Message -----
From: "Jeff Faust"
[...] Can anybody explain in English what the following does?
I believe that Aleksey posted the runtime pseudo-equivalent.
Posted by David Abrahams on boost developers list:
Have I mentioned recently how totally cool MPL's lambda facility is? I can't believe I can do things like this, even with MSVC6. It makes my metaprograms SO much easier to manage! mpl::logical_and< is_reference_to_class
mpl::_ > , mpl::logical_not< is_reference_to_args mpl::_ >
[Aleksey, on 9/27] // "ideal" version, for comparison purposes: // is_reference_to_class( add_reference(_) ) // && !is_reference_to_args( add_reference(_) ) I can't say for sure what the code does myself, but if I could venture a guess, I would say that it's a condition for something else (maybe an iterative algorithm over a type container?) that checks to see if an argument is a reference type of various sorts. Basically, if you don't understand it, in this case, you probably don't need it. ;) I know I don't! Dave Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
----- Original Message -----
From: "Jeff Faust"
Thanks Randy, David and Mark for your responses. I just ordered "Modern C++ Design". I've been meaning to. This was the the final push I needed.
Also, you could read the MPL paper. There's a few versions floating around in different places. I know one is in the files area, and another is on the Wiki. And yet another is in the distribution itself. Dave
participants (3)
-
David B. Held
-
Jeff Faust
-
Mark Storer