macro/function_ailias.hpp
Depends on
Code
#pragma once
#include <utility>
#include "internal/dev_env.hpp"
#define ALIAS_TEMPLATE_FUNCTION(wrapping, wrapped) template<class... Args> inline auto wrapping(Args&&... args) noexcept(NO_EXCEPT) { return wrapped(std::forward<Args>(args)...); }
#line 2 "macro/function_ailias.hpp"
#include <utility>
#line 2 "internal/dev_env.hpp"
#ifdef LOCAL_JUDGE
inline constexpr bool DEV_ENV = true;
inline constexpr bool NO_EXCEPT = false;
#else
inline constexpr bool DEV_ENV = false;
inline constexpr bool NO_EXCEPT = true;
#endif // LOCAL_JUDGE
#if __cplusplus >= 202100L
#define CPP20 true
#define CPP23 true
#elif __cplusplus >= 202002L
#define CPP20 true
#define CPP23 false
#else
#define CPP20 false
#define CPP23 false
#endif
#line 5 "macro/function_ailias.hpp"
#define ALIAS_TEMPLATE_FUNCTION(wrapping, wrapped) template<class... Args> inline auto wrapping(Args&&... args) noexcept(NO_EXCEPT) { return wrapped(std::forward<Args>(args)...); }
Back to top page