Boost logo

Boost :

Subject: Re: [boost] [uuids] On boost::uuids::uuid operator == performance.
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-18 05:58:01

On 18/04/12 11:09, Michael Kochetkov wrote:
>> The approach you suggest is not well-formed C++ and is specific to your
>> particular configuration; it might fare worst on others.
> Why it is not well-formed C++?

I've already pointed out why.

> The people I deal with in the real world do not think about its weight. They
> just cannot memorize boost::_bi::bind_t<int,int
> (*)(int),boost::_bi::list1<boost::arg<1> > > and type it correctly. So they
> use boost::function just for convenience.

The good thing to do, as with all similar mechanisms (lambda, phoenix),
is to avoid naming the result entirely or using auto/decltype/typeof

Boost list run by bdawes at, gregod at, cpdaniel at, john at