[Mesa-dev] [PATCH v2 12/15] nv50/ir: optimize the use of std::tr1::unordered_set

Petri Latvala petri.latvala at intel.com
Wed May 20 01:35:57 PDT 2015

On 05/20/2015 06:30 AM, Ilia Mirkin wrote:
> +    typedef const iterator const_iterator;
> +

This at least is wrong. A const iterator allows *iter = val, a 
const_iterator doesn't. A const_iterator allows ++, a const iterator 

Petri Latvala

More information about the mesa-dev mailing list