Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2002-11-07 18:26:17


----- Original Message -----
From: "Arkadiy Vertleyb" <vertleyb_at_[hidden]>

> > > tuple[c1()] = 5;
> > > employee[last_name()] = "Smith";
> > >
> > > The above looks pretty nice, except now we should pay the penalty for
> the
> > > creation of the temporary object. It's not clear whether compilers
> would
> > > optimize this away.
> >
> > Oh I'm pretty sure the compiler will optimize away the temporary.
> > However, if you want to be sure, there's only one way to find out :-)
>
> You mean by examining the code generated by all current (and future)
> compilers? :-)

Current? yes, future? unless you can do time-warps :-)
Anyway, compilers just get better. So, if you get good
code now, I'm pretty sure it will be better in the future.

> > Nice! Now, there's one more macro to remove :-)
>
> And that's all we need to do to be accepted ? :-))))))))

:-)

> Thanks a lot for your interest in the library. Did you have a chance to
> download and try it? We are looking forward to getting any feedback.

Yep, I have it here. I'm still looking for the right time to
go in and try it out. I scan the code every once in a while
and it looks pretty neat!

Regards,
--Joel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk