[LLVMdev] Perfect forwarding?

OvermindDL1 overminddl1 at gmail.com
Thu Sep 3 04:12:17 PDT 2009


Gah, headers not set appropriately, message I sent is forwarded below
(it still takes a good extra 45-90 seconds to change the "To" line on
this device...):

On Thu, Sep 3, 2009 at 2:45 AM, Talin<viridia at gmail.com> wrote:
> OvermindDL1 wrote:
>>
>> Boost.Fusion has adapters to convert structs/classes into
>> tuples/kwtuples.  You have to write the short and simple adapter for
>> your classes, but it would allow you to iterate over
>> everything/anything in it.  I have done this exact thing.  Not quite
>> fully what you want, but Boost.Fusion and other bits of other boost
>> metalibraries seem to do most of what you want.  Might be interesting
>> to look at?
>>
>
> Possibly. Bear in mind that part of my goal is to make something like Boost
> obsolete - because my language's type inference engine is more powerful than
> C++'s template resolution algorithms, it will allow many of the same things
> that Boost does, but without requiring the complex metaprogramming
> techniques that Boost uses to implement them. At least, that's the plan.

Heh, I am doing the same thing.  I am basically creating a strongly
typed, static-typed LISP.  Yes, I know, you can add types in LISP, but
having it be fully strongly and statically typed lets me compile it
that much easier, and I prefer strongly and statically typed anyway.
:)



More information about the llvm-dev mailing list