#include <folly/Traits.h>
#include <folly/portability/BitsFunctexcept.h>
-#if FOLLY_HAVE_DEPRECATED_ASSOC
-#ifdef _GLIBCXX_SYMVER
-#include <ext/hash_set>
-#include <ext/hash_map>
-#endif
-#endif
-
// When used in folly, assertions are not disabled.
#define FBSTRING_ASSERT(expr) assert(expr)
} // namespace std
-#if FOLLY_HAVE_DEPRECATED_ASSOC
-#if defined(_GLIBCXX_SYMVER) && !defined(__BIONIC__)
-namespace __gnu_cxx {
-
-FOLLY_FBSTRING_HASH
-
-} // namespace __gnu_cxx
-#endif // _GLIBCXX_SYMVER && !__BIONIC__
-#endif // FOLLY_HAVE_DEPRECATED_ASSOC
-
#undef FOLLY_FBSTRING_HASH
#undef FOLLY_FBSTRING_HASH1
#include <boost/type_traits.hpp>
#include <boost/regex/pending/unicode_iterator.hpp>
-#ifdef FOLLY_HAVE_DEPRECATED_ASSOC
-#ifdef _GLIBCXX_SYMVER
-#include <ext/hash_set>
-#include <ext/hash_map>
-#endif
-#endif
-
#include <unordered_set>
#include <unordered_map>
AC_CONFIG_MACRO_DIR([m4])
-AX_CONFIG_FEATURE_DEFAULT_DISABLED
-AX_CONFIG_FEATURE(
- [deprecated-assoc],
- [supports deprecated associative containers (hash_map/hash_set)],
- [HAVE_DEPRECATED_ASSOC],
- [Define if you want to support deprecated associative containers])
-
AC_PROG_INSTALL
AM_PROG_LIBTOOL
inline KeyT randomizeKey(int key) {
// We deterministically randomize the key to more accurately simulate
// real-world usage, and to avoid pathalogical performance patterns (e.g.
- // those related to __gnu_cxx::hash<int64_t>()(1) == 1).
+ // those related to std::hash<int64_t>()(1) == 1).
//
// Use a hash function we don't normally use for ints to avoid interactions.
return folly::hash::jenkins_rev_mix32(key);