Closed unvestigate closed 4 years ago
Hmm, on closer inspection it seems like this feature was only introduced in C++14. Perhaps this version of the SDK does not support C++14 yet.
you need to add --std=c++14 to compile options, since you're using 14's feature
On Sat, Oct 12, 2019 at 6:13 PM Sebastian Ahlman notifications@github.com wrote:
Hmm, on closer inspection it seems like this feature was only introduced in C++14. Perhaps this version of the SDK does not support C++14 yet.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/skarupke/flat_hash_map/issues/36?email_source=notifications&email_token=AB2YFKGE4REL3UOAINXKKTDQOGPNVA5CNFSM4JACICGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBB33BY#issuecomment-541310343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2YFKHFUA2QKZ44FZT5IYLQOGPNVANCNFSM4JACICGA .
--
Regards,
Kenji Chan
Ah, that's probably it. Thanks. I'll close this for now.
Clang gives me this error:
bytell_hash_map.hpp:644:74: error: 'auto' not allowed in lambda parameter std::sort(depth_in_chain.begin(), depth_in_chain.end(), [](const auto & a, const auto & b) { return a.first < b.first; });