Skip to content

Commit 5749b20

Browse files
authored
begin and end -> std::begin and std::end
1 parent ec10419 commit 5749b20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

debug.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,8 @@ struct DEBUG_NODISCARD debug {
571571
: std::true_type {};
572572
DEBUG_COND(is_ostream_ok, std::declval<std::ostream &>()
573573
<< std::declval<T const &>());
574-
DEBUG_COND(is_range, begin(std::declval<T const &>()) !=
575-
end(std::declval<T const &>()));
574+
DEBUG_COND(is_range, std::begin(std::declval<T const &>()) !=
575+
std::end(std::declval<T const &>()));
576576
DEBUG_COND(is_tuple, std::tuple_size<T>::value);
577577
DEBUG_COND(is_member_repr, std::declval<T const &>().DEBUG_REPR_NAME());
578578
DEBUG_COND(is_member_repr_stream, std::declval<T const &>().DEBUG_REPR_NAME(
@@ -918,8 +918,8 @@ struct DEBUG_NODISCARD debug {
918918
void operator()(std::ostream &oss, T const &t) const {
919919
oss << DEBUG_RANGE_BRACE[0];
920920
bool add_comma = false;
921-
auto b = begin(t);
922-
auto e = end(t);
921+
auto b = std::begin(t);
922+
auto e = std::end(t);
923923
for (auto it = b; it != e; ++it) {
924924
if (add_comma) {
925925
oss << DEBUG_RANGE_COMMA;

0 commit comments

Comments
 (0)