Add deprecation comments to folly::makeFuture.
[folly.git] / folly / String.cpp
index 097e5bbfd4c7b2cd86ed2b388ee557bea5124952..f4a923963f3ecd05fabb76790fc949b51361ac7c 100644 (file)
 
 namespace folly {
 
+static_assert(IsConvertible<float>::value, "");
+static_assert(IsConvertible<int>::value, "");
+static_assert(IsConvertible<bool>::value, "");
+static_assert(IsConvertible<int>::value, "");
+static_assert(!IsConvertible<std::vector<int>>::value, "");
+
 static inline bool is_oddspace(char c) {
   return c == '\n' || c == '\t' || c == '\r';
 }