|
Boost : |
Subject: Re: [boost] New libraries implementing C++11 features in C++03
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2011-12-01 15:08:35
> > I'm astounded at this line of thought, Dean. When choosing between two courses of action with reasonably equivalent outcomes, surely the one with the least cost is better. Thus, if using a library that is prone to triggering horrible error messages when misused is compared against using another library this does not trigger such error messages when misused, the choice is clear.
>
> But the way people avoid the hard to read error messages is to move
> the error detection to runtime, where it is easy to control the error
> messages.
But that's not the case with Boost.Local. Boost.Local catches errors at
compile time, the errors just look much better than with Phoenix because
the errors come from actual C++ statements, not expression trees that
approximate them.
Regards,
Nate
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk