2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
compile_time_member_check.h
Go to the documentation of this file.
1
4
5
#pragma once
6
7
#include <type_traits>
8
14
#define HAS_MEMBER(X) \
15
template <typename T, typename = void> \
16
struct has_##X : std::false_type {}; \
17
template <typename T> \
18
struct has_##X<T, decltype((void)T::X, void())> : std::true_type {};
src
argos_lib
include
argos_lib
config
compile_time_member_check.h
Generated by
1.9.8