Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
common.hpp
Go to the documentation of this file.
1#pragma once
2
3
4// Doxygen's Clang version is old enough to trigger errors in the MSVC STL, since it requires Clang 16 or newer.
5#if defined(GRAPHLE_DOXYGEN) && defined(_MSC_VER)
6 #define _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH
7#endif
8
9
10#include <ranges>
11#include <utility>
12
13
14#define GRAPHLE_FWD(...) std::forward<decltype(__VA_ARGS__)>(__VA_ARGS__)
15
16
17namespace graphle {
18 namespace rng = std::ranges;
19
20 namespace views {
21 using namespace std::ranges::views;
22 }
23}