Make Range.h and FBString.h mutually independent
[folly.git] / folly / FBString.h
index 90728601fbc7b1cd06dbcb375d1f6470db2444d6..b566d1191cffa9bc063190c192aad7d533da3cdf 100644 (file)
@@ -2894,3 +2894,13 @@ FOLLY_POP_WARNING
 #undef FBSTRING_LIKELY
 #undef FBSTRING_UNLIKELY
 #undef FBSTRING_ASSERT
+
+#ifndef _LIBSTDCXX_FBSTRING
+namespace folly {
+template <class T>
+struct IsSomeString;
+
+template <>
+struct IsSomeString<fbstring> : std::true_type {};
+} // namespace folly
+#endif