1// bindgen-flags: -- -std=c++11 2 3struct false_type {}; 4 5template<typename _From, typename _To, bool> 6struct __is_base_to_derived_ref; 7 8template<typename _From, typename _To> 9struct __is_base_to_derived_ref<_From, _To, true> 10{ 11 typedef _To type; 12 13 static constexpr bool value = type::value; 14}; 15 16template<typename _From, typename _To> 17struct __is_base_to_derived_ref<_From, _To, false> 18: public false_type 19{ }; 20