| 296 | // N.B. ordering of overloads is relatively fragile |
| 297 | template <typename T> |
| 298 | static inline Result<decltype(MakeScalar(std::declval<T>()))> GenericToScalar( |
| 299 | const T& value) { |
| 300 | return MakeScalar(value); |
| 301 | } |
| 302 | |
| 303 | // For Clang/libc++: when iterating through vector<bool>, we can't |
| 304 | // pass it by reference so the overload above doesn't apply |
no test coverage detected