From: David B. Held (dheld_at_[hidden])
Date: 2003-10-24 14:22:33
"Joel de Guzman" <joel_at_[hidden]> wrote in message
> Views *are* sequences. Conceptually a view has a begin
> and end (typically, but not always, an iterator pair).
Ok, thanks for the explanation. That makes things clearer
(there really needs to be an MPL book, IMO, and probably
a Fusion one when it gets done).
> Why is MPL being rewritten for tuples? It's like asking the
> question why was STL rewritten for meta-sequences
> (MPL)? Because these are two different domains. MPL
> deals with metafunctions, Fusion deals with polymorphic
> functions and metafunctions. MPL deals with types and
> constants purely at compile time. Fusion deals with types
> constants *and values* at compile time *and* at runtime.
And this makes a lot of sense too. It's weird that there are
three different domains, one of them halfway between the
other two. I would say that a perfect language would let
you collapse all three libraries together, since this is what
I might call "abstraction-level redundancy". But I guess
having good libraries for each one is good enough for C++.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk