| 280 | // N.B. ordering of overloads is relatively fragile |
| 281 | template <typename T> |
| 282 | static inline Result<decltype(MakeScalar(std::declval<T>()))> GenericToScalar( |
| 283 | const T& value) { |
| 284 | return MakeScalar(value); |
| 285 | } |
| 286 | |
| 287 | // For Clang/libc++: when iterating through vector<bool>, we can't |
| 288 | // pass it by reference so the overload above doesn't apply |
no test coverage detected