Apply clang-format

This commit is contained in:
rbrugo 2022-03-11 16:35:09 +01:00
parent 03bf57a69e
commit d02079a40f

View File

@ -65,19 +65,14 @@ TEST(ranges_test, format_set) {
"{\"one\", \"two\"}");
}
namespace adl
{
namespace adl {
struct box {
int value;
};
auto begin(box & b) noexcept -> int * {
return std::addressof(b.value);
}
auto begin(box& b) noexcept -> int* { return std::addressof(b.value); }
auto end(box & b) noexcept -> int * {
return std::addressof(b.value) + 1;
}
auto end(box& b) noexcept -> int* { return std::addressof(b.value) + 1; }
auto begin(const box& b) noexcept -> const int* {
return std::addressof(b.value);