Versioning for Thrift, remove thrift/lib/cpp/config.h
[folly.git] / folly / String.h
index 3df3f9c41a15758a90bed49cb9e244c718f65752..0b2b8646822131f44ac3a9d54ddcf176498b997d 100644 (file)
@@ -448,7 +448,8 @@ void splitTo(const Delim& delimiter,
 template <class T>
 using IsSplitTargetType = std::integral_constant<bool,
   std::is_arithmetic<T>::value ||
-  std::is_same<T, StringPiece>::value>;
+  std::is_same<T, StringPiece>::value ||
+  IsSomeString<T>::value>;
 
 template<bool exact = true,
          class Delim,