Em domingo, 16 de abril de 2017, às 11:54:03 PDT, Ville Voutilainen escreveu: > On 16 April 2017 at 20:51, Giuseppe D'Angelo <[email protected]> wrote: > > Il 16/04/2017 18:32, Corentin ha scritto: > >> More on point: > >> * You don't actually need to include anything from the STL to > >> > >> implement std::hash. > > > > You actually do: you need <functional> to see the primary template for > > std::hash (otherwise you can't specialize it). Also, how to implement it > > is another burden (see the other discussion). > > You don't need to include a header to do that: > > namespace std { > template <class T> struct hash; > }
That doesn't work if it's std::__1::hash. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
