Ian Romanick <i...@freedesktop.org> writes: > On 09/15/2013 02:10 AM, Francisco Jerez wrote: >>[...] >> >> >> +#include <map> >> +#include <set> > > No. We are not using STL or templates. >
Any reason for it to be still so? Actually I started implementing this patch using one of mesa's hash tables, but at some point I realized I was cluttering the code with pointer casts, awkward syntax and memory management code spread over several different places around _mesa_glsl_parse_state. I'm fine either way, really, I can revert to my earlier code if you really want -- It's just not going to be especially fun for whoever gets to maintain it.
pgpCifnhHelY6.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev