template struct Bonxai::type_has_member_x<T, std::void_t<decltype(T::x)>>

#include <mrpt/maps/bonxai/bonxai.hpp>

template <class T>
struct type_has_member_x<T, std::void_t<decltype(T::x)>>: public std::true_type
{
};