/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
template <bool exact, class Delim, class... OutputTypes>
typename std::enable_if<
- AllConvertible<OutputTypes...>::value && sizeof...(OutputTypes) >= 1,
+ StrictConjunction<IsConvertible<OutputTypes>...>::value &&
+ sizeof...(OutputTypes) >= 1,
bool>::type
split(const Delim& delimiter, StringPiece input, OutputTypes&... outputs) {
return detail::splitFixed<exact>(