Format some C++ files with clang-format

This commit is contained in:
Johannes Altmanninger 2022-10-26 14:00:44 +02:00
parent ee62bee9cd
commit 45da77c5c5
2 changed files with 6 additions and 5 deletions

View file

@ -138,8 +138,9 @@ class maybe_t : private maybe_detail::conditionally_copyable_t<T> {
// Not enabled if the type T is already bool-convertible to prevent accidental misuse,
// otherwise the "typename std::enable_if<....>::type" evaluates to bool, giving us a definition
// of `explicit operator bool() const { ... }`
template <typename U = T> explicit operator
typename std::enable_if<!std::is_convertible<U, bool>::value, bool>::type() const {
template <typename U = T>
explicit operator typename std::enable_if<!std::is_convertible<U, bool>::value, bool>::type()
const {
return impl_.filled;
}