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