From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-03-08 06:59:45
"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
> 1. You might way to include a general treatment of placeholder symbols
> (_1, _2,
> _3, ...) in you're library, to help reduce the number of different
> definitions from various libraries.
I use placeholder symbols (_1, _2, _3, ...) as public static members of
So there shouln't be such problems.
What do you think which statement is more readable and understandable?
LAZY_ALIAS(-Matrix_ + Matrix_ = Matrix_._2 - Matrix_._1);
LAZY_ALIAS(-Matrix_ + Matrix_ = _2 - _1);
If second then I better include such support.
> 2. You might provide native support for reference wrappers, from Boost.Ref
Matrix a, b, c, d, e;
a = (b + c * d * (d + -b + - - c);
Expression template on rhs operators only with references to a, b, c, d, e.
Also I use boost::call_traits<T>::param_type where building expession
So I think there is no need for such support.
Maybe I misunderstand something?
-- Pavel Chikulaev
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk