aboutsummaryrefslogtreecommitdiff
path: root/include/openvic-dataloader/detail/VectorConstexpr.hpp
blob: 7e7fa346642732ce9f8015fc92d52d759258a3d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
#pragma once

// THANK YOU APPLE FOR YOUR UTTER DISREGARD FOR C++20

#if __cpp_lib_constexpr_vector >= 201907L
#define OVDL_VECTOR_CONSTEXPR constexpr
#else
#define OVDL_VECTOR_CONSTEXPR inline
#endif