Move folly/BitIterator.h to folly/container/
[folly.git] / folly / Poly.h
index 218fbd8950e9924ce3f6a1e926c43c9cf993f865..5563f0a3f8a56a2813b83d2cd76a9b6ff388b81f 100644 (file)
 
 #pragma once
 
+#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 5
+#error Folly.Poly requires gcc-5 or greater
+#endif
+
 #include <cassert>
 #include <new>
 #include <type_traits>
 #include <typeinfo>
 #include <utility>
 
-#include <folly/Assume.h>
 #include <folly/CppAttributes.h>
 #include <folly/Traits.h>
 #include <folly/detail/TypeList.h>
+#include <folly/lang/Assume.h>
 
 #if !defined(__cpp_inline_variables)
 #define FOLLY_INLINE_CONSTEXPR constexpr