all()マクロ
(Util/all-macro.hpp)
- View this file on GitHub
- Last update: 2020-09-08 04:00:43+09:00
- Include:
#include "Util/all-macro.hpp"
Required by
Verified with
test/AOJ/ALDS1_14_B-String-Search.test.cpp
test/helloworld/rolling-hash.test.cpp
test/yosupo/static-range-sum.test.cpp
Code
#pragma once
/**
* @brief all()マクロ
*/
#define all(x) std::begin(x), std::end(x)
#define rall(x) std::rbegin(x), std::rend(x)
#line 2 "Util/all-macro.hpp"
/**
* @brief all()マクロ
*/
#define all(x) std::begin(x), std::end(x)
#define rall(x) std::rbegin(x), std::rend(x)