* Note that this will likely not work if the last field's target is of numeric
* type, in which case folly::to<> will throw an exception.
*/
-template <class T, class Enable = void>
-struct IsSomeVector {
- enum { value = false };
-};
-
-template <class T>
-struct IsSomeVector<std::vector<T>, void> {
- enum { value = true };
-};
-
-template <class T>
-struct IsSomeVector<fbvector<T>, void> {
- enum { value = true };
-};
-
template <class T, class Enable = void>
struct IsConvertible {
enum { value = false };