[Piglit] usage of C++11 STL features in a Piglit test
Eric Anholt
eric at anholt.net
Thu Oct 3 18:20:21 PDT 2013
Jon Ashburn <jon at lunarg.com> writes:
> I am working on Piglit tests for arb_texture_view. I was considering
> using C++11 features in STL (e.g. unordered_set). Any reason not to
> use these newer STL features if they are supported in the newer
> versions of g++ as found on recent Ubuntu distributions? In particular,
> wondering if compilers on other platforms which Piglit might support
> have reasonably thorough C++11 support?
>
> For GNU compiler C++11 features require -std=c++11 or -std=gnu++11
> compiler options.
>
> I can always fall back to implementing test using non-C++11 features.
piglit tests should in general be written in c89.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131003/06b9b4aa/attachment.pgp>
More information about the Piglit
mailing list