[PATCH 2/4] Improvements to typed_splay_tree

Bernd Schmidt bschmidt@redhat.com
Wed Aug 31 14:12:00 GMT 2016


On 08/24/2016 03:28 AM, David Malcolm wrote:
> +/* Helper type for typed_splay_tree::foreach.  */
> +
> +template <typename KEY_TYPE, typename VALUE_TYPE>
> +struct closure

Is this in the global namespace? If so, something more specific than 
"closure" might be more appropriate. Or move the struct into the 
typed_splay_tree class definition.

Looks ok otherwise.


Bernd



More information about the Gcc-patches mailing list