#pragma diag_push #pragma diag_suppress 2581 #pragma CHECK_MISRA("-2.2") #pragma CHECK_MISRA("-19.4") #pragma CHECK_MISRA("-19.10") #pragma GCC system_header namespace std { inline namespace __2 { } } #pragma diag_pop #pragma GCC system_header #pragma diag_push #pragma CHECK_MISRA("none") #pragma diag_pop #pragma diag_push #pragma CHECK_MISRA("-6.3") typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef __uint32_t __clock_t; typedef __int32_t __critical_t; typedef double __double_t; typedef float __float_t; typedef __int32_t __intfptr_t; typedef __int64_t __intmax_t; typedef __int32_t __intptr_t; typedef __int32_t __int_fast8_t; typedef __int32_t __int_fast16_t; typedef __int32_t __int_fast32_t; typedef __int64_t __int_fast64_t; typedef __int8_t __int_least8_t; typedef __int16_t __int_least16_t; typedef __int32_t __int_least32_t; typedef __int64_t __int_least64_t; typedef __int32_t __ptrdiff_t; typedef __int32_t __register_t; typedef __int32_t __segsz_t; typedef __uint32_t __size_t; typedef __int32_t __ssize_t; typedef __uint32_t __time_t; typedef __uint32_t __uintfptr_t; typedef __uint64_t __uintmax_t; typedef __uint32_t __uintptr_t; typedef __uint32_t __uint_fast8_t; typedef __uint32_t __uint_fast16_t; typedef __uint32_t __uint_fast32_t; typedef __uint64_t __uint_fast64_t; typedef __uint8_t __uint_least8_t; typedef __uint16_t __uint_least16_t; typedef __uint32_t __uint_least32_t; typedef __uint64_t __uint_least64_t; typedef __uint32_t __u_register_t; typedef __uint32_t __vm_offset_t; typedef __uint32_t __vm_paddr_t; typedef __uint32_t __vm_size_t; typedef unsigned short ___wchar_t; typedef struct __va_list_t { void * __ap; } __va_list; #pragma diag_pop #pragma diag_push #pragma CHECK_MISRA("-6.3") typedef __int32_t __blksize_t; typedef __int64_t __blkcnt_t; typedef __int32_t __clockid_t; typedef __uint32_t __fflags_t; typedef __uint64_t __fsblkcnt_t; typedef __uint64_t __fsfilcnt_t; typedef __uint32_t __gid_t; typedef __int64_t __id_t; typedef __uint64_t __ino_t; typedef long __key_t; typedef __int32_t __lwpid_t; typedef __uint16_t __mode_t; typedef int __accmode_t; typedef int __nl_item; typedef __uint64_t __nlink_t; typedef __int64_t __off_t; typedef __int64_t __off64_t; typedef __int32_t __pid_t; typedef __int64_t __rlim_t; typedef __uint8_t __sa_family_t; typedef __uint32_t __socklen_t; typedef long __suseconds_t; typedef struct __timer *__timer_t; typedef struct __mq *__mqd_t; typedef __uint32_t __uid_t; typedef unsigned int __useconds_t; typedef int __cpuwhich_t; typedef int __cpulevel_t; typedef int __cpusetid_t; typedef int __ct_rune_t; typedef __ct_rune_t __rune_t; typedef __ct_rune_t __wint_t; typedef __uint_least16_t __char16_t; typedef __uint_least32_t __char32_t; typedef struct { long long __max_align1 __attribute__((__aligned__(alignof(long long)))); long double __max_align2 __attribute__((__aligned__(alignof(long double)))); } __max_align_t; typedef __uint64_t __dev_t; typedef __uint32_t __fixpt_t; typedef int _Mbstatet; typedef _Mbstatet __mbstate_t; typedef __uintmax_t __rman_res_t; #pragma diag_pop #pragma diag_push #pragma CHECK_MISRA("-19.4") #pragma diag_pop typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; typedef __uint8_t uint8_t; typedef __uint16_t uint16_t; typedef __uint32_t uint32_t; typedef __uint64_t uint64_t; typedef __intptr_t intptr_t; typedef __uintptr_t uintptr_t; typedef __intmax_t intmax_t; typedef __uintmax_t uintmax_t; typedef __int_least8_t int_least8_t; typedef __int_least16_t int_least16_t; typedef __int_least32_t int_least32_t; typedef __int_least64_t int_least64_t; typedef __uint_least8_t uint_least8_t; typedef __uint_least16_t uint_least16_t; typedef __uint_least32_t uint_least32_t; typedef __uint_least64_t uint_least64_t; typedef __int_fast8_t int_fast8_t; typedef __int_fast16_t int_fast16_t; typedef __int_fast32_t int_fast32_t; typedef __int_fast64_t int_fast64_t; typedef __uint_fast8_t uint_fast8_t; typedef __uint_fast16_t uint_fast16_t; typedef __uint_fast32_t uint_fast32_t; typedef __uint_fast64_t uint_fast64_t; #pragma diag_push #pragma CHECK_MISRA("-19.4") #pragma diag_pop #pragma GCC system_header typedef uint64_t uint64; typedef uint32_t uint32; typedef uint16_t uint16; typedef uint8_t uint8; typedef bool boolean; typedef int64_t sint64; typedef int32_t sint32; typedef int16_t sint16; typedef int8_t sint8; typedef float float32; typedef double float64; typedef uint8 Std_ReturnType; typedef struct { uint16 vendorID; uint16 moduleID; uint8 instanceID; uint8 sw_major_version; uint8 sw_minor_version; uint8 sw_patch_version; } Std_VersionInfoType; typedef unsigned char StatusType; extern "C" { typedef boolean tBoolean; typedef enum loopBackType { Digital_Lbk = 0U, Analog_Lbk = 1U }loopBackType_t; typedef enum config_value_type { InitialValue, CurrentValue }config_value_type_t; } #pragma GCC system_header #pragma diag_push #pragma CHECK_MISRA("-19.7") #pragma CHECK_MISRA("-20.1") #pragma CHECK_MISRA("-20.2") extern "C" { typedef int ptrdiff_t; typedef unsigned size_t; typedef long double max_align_t; #pragma diag_push #pragma CHECK_MISRA("-19.10") } #pragma diag_pop #pragma GCC system_header namespace std { typedef decltype(nullptr) nullptr_t; } namespace std { inline namespace __2 { using ::ptrdiff_t; using ::size_t; using ::max_align_t; } } #pragma GCC system_header namespace std { template class initializer_list { const _Ep* __begin_; size_t __size_; __attribute__ ((__always_inline__)) constexpr initializer_list(const _Ep* __b, size_t __s) noexcept : __begin_(__b), __size_(__s) {} public: typedef _Ep value_type; typedef const _Ep& reference; typedef const _Ep& const_reference; typedef size_t size_type; typedef const _Ep* iterator; typedef const _Ep* const_iterator; __attribute__ ((__always_inline__)) constexpr initializer_list() noexcept : __begin_(nullptr), __size_(0) {} __attribute__ ((__always_inline__)) constexpr size_t size() const noexcept {return __size_;} __attribute__ ((__always_inline__)) constexpr const _Ep* begin() const noexcept {return __begin_;} __attribute__ ((__always_inline__)) constexpr const _Ep* end() const noexcept {return __begin_ + __size_;} }; template inline __attribute__ ((__always_inline__)) constexpr const _Ep* begin(initializer_list<_Ep> __il) noexcept { return __il.begin(); } template inline __attribute__ ((__always_inline__)) constexpr const _Ep* end(initializer_list<_Ep> __il) noexcept { return __il.end(); } } #pragma GCC system_header namespace std { inline namespace __2 { template struct pair; template class reference_wrapper; template struct hash; template struct __void_t { typedef void type; }; template struct __identity { typedef _Tp type; }; template struct __dependent_type : public _Tp {}; template struct conditional {typedef _If type;}; template struct conditional {typedef _Then type;}; template using conditional_t = typename conditional<_Bp, _If, _Then>::type; template struct __lazy_enable_if {}; template struct __lazy_enable_if {typedef typename _Tp::type type;}; template struct enable_if {}; template struct enable_if {typedef _Tp type;}; template using enable_if_t = typename enable_if<_Bp, _Tp>::type; template inline __attribute__ ((__always_inline__)) _Tp* addressof(_Tp& __x) noexcept { return reinterpret_cast<_Tp *>( const_cast(&reinterpret_cast(__x))); } template _Tp* addressof(const _Tp&&) noexcept = delete; struct __two {char __lx[2];}; template struct integral_constant { static constexpr const _Tp value = __v; typedef _Tp value_type; typedef integral_constant type; __attribute__ ((__always_inline__)) constexpr operator value_type() const noexcept {return value;} __attribute__ ((__always_inline__)) constexpr value_type operator ()() const noexcept {return value;} }; template constexpr const _Tp integral_constant<_Tp, __v>::value; typedef integral_constant true_type; typedef integral_constant false_type; template struct __lazy_and_impl; template struct __lazy_and_impl : false_type {}; template <> struct __lazy_and_impl : true_type {}; template struct __lazy_and_impl : integral_constant {}; template struct __lazy_and_impl : __lazy_and_impl<_Hp::type::value, _Tp...> {}; template struct __lazy_and : __lazy_and_impl<_P1::type::value, _Pr...> {}; template struct __lazy_or_impl; template struct __lazy_or_impl : true_type {}; template <> struct __lazy_or_impl : false_type {}; template struct __lazy_or_impl : __lazy_or_impl<_Hp::type::value, _Tp...> {}; template struct __lazy_or : __lazy_or_impl<_P1::type::value, _Pr...> {}; template struct __lazy_not : integral_constant {}; template struct __and_; template<> struct __and_<> : true_type {}; template struct __and_<_B0> : _B0 {}; template struct __and_<_B0, _B1> : conditional<_B0::value, _B1, _B0>::type {}; template struct __and_<_B0, _B1, _B2, _Bn...> : conditional<_B0::value, __and_<_B1, _B2, _Bn...>, _B0>::type {}; template struct __or_; template<> struct __or_<> : false_type {}; template struct __or_<_B0> : _B0 {}; template struct __or_<_B0, _B1> : conditional<_B0::value, _B0, _B1>::type {}; template struct __or_<_B0, _B1, _B2, _Bn...> : conditional<_B0::value, _B0, __or_<_B1, _B2, _Bn...> >::type {}; template struct __not_ : conditional<_Tp::value, false_type, true_type>::type {}; template struct is_const : public false_type {}; template struct is_const<_Tp const> : public true_type {}; template struct is_volatile : public false_type {}; template struct is_volatile<_Tp volatile> : public true_type {}; template struct remove_const {typedef _Tp type;}; template struct remove_const {typedef _Tp type;}; template using remove_const_t = typename remove_const<_Tp>::type; template struct remove_volatile {typedef _Tp type;}; template struct remove_volatile {typedef _Tp type;}; template using remove_volatile_t = typename remove_volatile<_Tp>::type; template struct remove_cv {typedef typename remove_volatile::type>::type type;}; template using remove_cv_t = typename remove_cv<_Tp>::type; template struct __libcpp_is_void : public false_type {}; template <> struct __libcpp_is_void : public true_type {}; template struct is_void : public __libcpp_is_void::type> {}; template struct __is_nullptr_t_impl : public false_type {}; template <> struct __is_nullptr_t_impl : public true_type {}; template struct __is_nullptr_t : public __is_nullptr_t_impl::type> {}; template struct is_null_pointer : public __is_nullptr_t_impl::type> {}; template struct __libcpp_is_integral : public false_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template <> struct __libcpp_is_integral : public true_type {}; template struct is_integral : public __libcpp_is_integral::type> {}; template struct __libcpp_is_floating_point : public false_type {}; template <> struct __libcpp_is_floating_point : public true_type {}; template <> struct __libcpp_is_floating_point : public true_type {}; template <> struct __libcpp_is_floating_point : public true_type {}; template struct is_floating_point : public __libcpp_is_floating_point::type> {}; template struct is_array : public false_type {}; template struct is_array<_Tp[]> : public true_type {}; template struct is_array<_Tp[_Np]> : public true_type {}; template struct __libcpp_is_pointer : public false_type {}; template struct __libcpp_is_pointer<_Tp*> : public true_type {}; template struct is_pointer : public __libcpp_is_pointer::type> {}; template struct is_lvalue_reference : public false_type {}; template struct is_lvalue_reference<_Tp&> : public true_type {}; template struct is_rvalue_reference : public false_type {}; template struct is_rvalue_reference<_Tp&&> : public true_type {}; template struct is_reference : public false_type {}; template struct is_reference<_Tp&> : public true_type {}; template struct is_reference<_Tp&&> : public true_type {}; template struct is_union : public integral_constant {}; template struct is_class : public integral_constant {}; template struct is_same : public false_type {}; template struct is_same<_Tp, _Tp> : public true_type {}; namespace __libcpp_is_function_imp { struct __dummy_type {}; template char __test(_Tp*); template char __test(__dummy_type); template __two __test(...); template _Tp& __source(int); template __dummy_type __source(...); } template ::value || is_union<_Tp>::value || is_void<_Tp>::value || is_reference<_Tp>::value || __is_nullptr_t<_Tp>::value > struct __libcpp_is_function : public integral_constant(__libcpp_is_function_imp::__source<_Tp>(0))) == 1> {}; template struct __libcpp_is_function<_Tp, true> : public false_type {}; template struct is_function : public __libcpp_is_function<_Tp> {}; template struct __member_pointer_traits_imp { }; template struct __libcpp_is_member_function_pointer : public false_type {}; template struct __libcpp_is_member_function_pointer<_Ret _Class::*> : public is_function<_Ret> {}; template struct is_member_function_pointer : public __libcpp_is_member_function_pointer::type>::type {}; template struct __libcpp_is_member_pointer : public false_type {}; template struct __libcpp_is_member_pointer<_Tp _Up::*> : public true_type {}; template struct is_member_pointer : public __libcpp_is_member_pointer::type> {}; template struct is_member_object_pointer : public integral_constant::value && !is_member_function_pointer<_Tp>::value> {}; template struct is_enum : public integral_constant {}; template struct is_arithmetic : public integral_constant::value || is_floating_point<_Tp>::value> {}; template struct is_fundamental : public integral_constant::value || __is_nullptr_t<_Tp>::value || is_arithmetic<_Tp>::value> {}; template struct is_scalar : public integral_constant::value || is_member_pointer<_Tp>::value || is_pointer<_Tp>::value || __is_nullptr_t<_Tp>::value || is_enum<_Tp>::value > {}; template <> struct is_scalar : public true_type {}; template struct is_object : public integral_constant::value || is_array<_Tp>::value || is_union<_Tp>::value || is_class<_Tp>::value > {}; template struct is_compound : public integral_constant::value> {}; struct __is_referenceable_impl { template static _Tp& __test(int); template static __two __test(...); }; template struct __is_referenceable : integral_constant(0)), __two>::value> {}; template ::value || is_function<_Tp>::value || is_const<_Tp>::value > struct __add_const {typedef _Tp type;}; template struct __add_const<_Tp, false> {typedef const _Tp type;}; template struct add_const {typedef typename __add_const<_Tp>::type type;}; template using add_const_t = typename add_const<_Tp>::type; template ::value || is_function<_Tp>::value || is_volatile<_Tp>::value > struct __add_volatile {typedef _Tp type;}; template struct __add_volatile<_Tp, false> {typedef volatile _Tp type;}; template struct add_volatile {typedef typename __add_volatile<_Tp>::type type;}; template using add_volatile_t = typename add_volatile<_Tp>::type; template struct add_cv {typedef typename add_const::type>::type type;}; template using add_cv_t = typename add_cv<_Tp>::type; template struct remove_reference {typedef _Tp type;}; template struct remove_reference<_Tp&> {typedef _Tp type;}; template struct remove_reference<_Tp&&> {typedef _Tp type;}; template using remove_reference_t = typename remove_reference<_Tp>::type; template ::value> struct __add_lvalue_reference_impl { typedef _Tp type; }; template struct __add_lvalue_reference_impl<_Tp, true> { typedef _Tp& type; }; template struct add_lvalue_reference {typedef typename __add_lvalue_reference_impl<_Tp>::type type;}; template using add_lvalue_reference_t = typename add_lvalue_reference<_Tp>::type; template ::value> struct __add_rvalue_reference_impl { typedef _Tp type; }; template struct __add_rvalue_reference_impl<_Tp, true> { typedef _Tp&& type; }; template struct add_rvalue_reference {typedef typename __add_rvalue_reference_impl<_Tp>::type type;}; template using add_rvalue_reference_t = typename add_rvalue_reference<_Tp>::type; template _Tp&& __declval(int); template _Tp __declval(long); template decltype(std::__2::__declval<_Tp>(0)) declval() noexcept; template struct __uncvref { typedef typename remove_cv::type>::type type; }; template struct __unconstref { typedef typename remove_const::type>::type type; }; template using __uncvref_t = typename __uncvref<_Tp>::type; template struct __is_same_uncvref : is_same::type, typename __uncvref<_Up>::type> {}; struct __any { __any(...); }; template struct remove_pointer {typedef _Tp type;}; template struct remove_pointer<_Tp*> {typedef _Tp type;}; template struct remove_pointer<_Tp* const> {typedef _Tp type;}; template struct remove_pointer<_Tp* volatile> {typedef _Tp type;}; template struct remove_pointer<_Tp* const volatile> {typedef _Tp type;}; template using remove_pointer_t = typename remove_pointer<_Tp>::type; template ::value || is_same::type, void>::value> struct __add_pointer_impl {typedef typename remove_reference<_Tp>::type* type;}; template struct __add_pointer_impl<_Tp, false> {typedef _Tp type;}; template struct add_pointer {typedef typename __add_pointer_impl<_Tp>::type type;}; template using add_pointer_t = typename add_pointer<_Tp>::type; template ::value> struct __libcpp_is_signed_impl : public integral_constant {}; template struct __libcpp_is_signed_impl<_Tp, false> : public true_type {}; template ::value> struct __libcpp_is_signed : public __libcpp_is_signed_impl<_Tp> {}; template struct __libcpp_is_signed<_Tp, false> : public false_type {}; template struct is_signed : public __libcpp_is_signed<_Tp> {}; template ::value> struct __libcpp_is_unsigned_impl : public integral_constant {}; template struct __libcpp_is_unsigned_impl<_Tp, false> : public false_type {}; template ::value> struct __libcpp_is_unsigned : public __libcpp_is_unsigned_impl<_Tp> {}; template struct __libcpp_is_unsigned<_Tp, false> : public false_type {}; template struct is_unsigned : public __libcpp_is_unsigned<_Tp> {}; template struct rank : public integral_constant {}; template struct rank<_Tp[]> : public integral_constant::value + 1> {}; template struct rank<_Tp[_Np]> : public integral_constant::value + 1> {}; template struct extent : public integral_constant {}; template struct extent<_Tp[], 0> : public integral_constant {}; template struct extent<_Tp[], _Ip> : public integral_constant::value> {}; template struct extent<_Tp[_Np], 0> : public integral_constant {}; template struct extent<_Tp[_Np], _Ip> : public integral_constant::value> {}; template struct remove_extent {typedef _Tp type;}; template struct remove_extent<_Tp[]> {typedef _Tp type;}; template struct remove_extent<_Tp[_Np]> {typedef _Tp type;}; template using remove_extent_t = typename remove_extent<_Tp>::type; template struct remove_all_extents {typedef _Tp type;}; template struct remove_all_extents<_Tp[]> {typedef typename remove_all_extents<_Tp>::type type;}; template struct remove_all_extents<_Tp[_Np]> {typedef typename remove_all_extents<_Tp>::type type;}; template using remove_all_extents_t = typename remove_all_extents<_Tp>::type; template struct __decay { typedef typename remove_cv<_Up>::type type; }; template struct __decay<_Up, true> { public: typedef typename conditional < is_array<_Up>::value, typename remove_extent<_Up>::type*, typename conditional < is_function<_Up>::value, typename add_pointer<_Up>::type, typename remove_cv<_Up>::type >::type >::type type; }; template struct decay { private: typedef typename remove_reference<_Tp>::type _Up; public: typedef typename __decay<_Up, __is_referenceable<_Up>::value>::type type; }; template using decay_t = typename decay<_Tp>::type; template struct is_abstract : public integral_constant {}; template struct __libcpp_is_final : public integral_constant {}; template struct is_final : public integral_constant {}; template struct is_base_of : public integral_constant {}; template struct is_convertible : public integral_constant::value> {}; template struct is_empty : public integral_constant {}; template struct is_polymorphic : public integral_constant {}; template struct has_virtual_destructor : public integral_constant {}; template struct alignment_of : public integral_constant {}; template struct __type_list { typedef _Hp _Head; typedef _Tp _Tail; }; struct __nat { __nat() = delete; __nat(const __nat&) = delete; __nat& operator=(const __nat&) = delete; ~__nat() = delete; }; template struct __align_type { static const size_t value = alignment_of<_Tp>::value; typedef _Tp type; }; struct __struct_double {long double __lx;}; struct __struct_double4 {double __lx[4];}; typedef __type_list<__align_type, __type_list<__align_type, __type_list<__align_type, __type_list<__align_type, __type_list<__align_type, __type_list<__align_type, __type_list<__align_type, __type_list<__align_type<__struct_double>, __type_list<__align_type<__struct_double4>, __type_list<__align_type, __nat > > > > > > > > > > __all_types; template struct __find_pod; template struct __find_pod<__type_list<_Hp, __nat>, _Align> { typedef typename conditional< _Align == _Hp::value, typename _Hp::type, void >::type type; }; template struct __find_pod<__type_list<_Hp, _Tp>, _Align> { typedef typename conditional< _Align == _Hp::value, typename _Hp::type, typename __find_pod<_Tp, _Align>::type >::type type; }; template struct __find_max_align; template struct __find_max_align<__type_list<_Hp, __nat>, _Len> : public integral_constant {}; template struct __select_align { private: static const size_t __min = _A2 < _A1 ? _A2 : _A1; static const size_t __max = _A1 < _A2 ? _A2 : _A1; public: static const size_t value = _Len < __max ? __min : __max; }; template struct __find_max_align<__type_list<_Hp, _Tp>, _Len> : public integral_constant::value>::value> {}; template ::value> struct aligned_storage { typedef typename __find_pod<__all_types, _Align>::type _Aligner; static_assert(!is_void<_Aligner>::value, ""); union type { _Aligner __align; unsigned char __data[(_Len + _Align - 1)/_Align * _Align]; }; }; template ::value> using aligned_storage_t = typename aligned_storage<_Len, _Align>::type; template struct aligned_storage<_Len, 0x1>{ struct alignas(0x1) type { unsigned char __lx[(_Len + 0x1 - 1)/0x1 * 0x1]; };}; template struct aligned_storage<_Len, 0x2>{ struct alignas(0x2) type { unsigned char __lx[(_Len + 0x2 - 1)/0x2 * 0x2]; };}; template struct aligned_storage<_Len, 0x4>{ struct alignas(0x4) type { unsigned char __lx[(_Len + 0x4 - 1)/0x4 * 0x4]; };}; template struct aligned_storage<_Len, 0x8>{ struct alignas(0x8) type { unsigned char __lx[(_Len + 0x8 - 1)/0x8 * 0x8]; };}; template struct aligned_storage<_Len, 0x10>{ struct alignas(0x10) type { unsigned char __lx[(_Len + 0x10 - 1)/0x10 * 0x10]; };}; template struct aligned_storage<_Len, 0x20>{ struct alignas(0x20) type { unsigned char __lx[(_Len + 0x20 - 1)/0x20 * 0x20]; };}; template struct aligned_storage<_Len, 0x40>{ struct alignas(0x40) type { unsigned char __lx[(_Len + 0x40 - 1)/0x40 * 0x40]; };}; template struct aligned_storage<_Len, 0x80>{ struct alignas(0x80) type { unsigned char __lx[(_Len + 0x80 - 1)/0x80 * 0x80]; };}; template struct aligned_storage<_Len, 0x100>{ struct alignas(0x100) type { unsigned char __lx[(_Len + 0x100 - 1)/0x100 * 0x100]; };}; template struct aligned_storage<_Len, 0x200>{ struct alignas(0x200) type { unsigned char __lx[(_Len + 0x200 - 1)/0x200 * 0x200]; };}; template struct aligned_storage<_Len, 0x400>{ struct alignas(0x400) type { unsigned char __lx[(_Len + 0x400 - 1)/0x400 * 0x400]; };}; template struct aligned_storage<_Len, 0x800>{ struct alignas(0x800) type { unsigned char __lx[(_Len + 0x800 - 1)/0x800 * 0x800]; };}; template struct aligned_storage<_Len, 0x1000>{ struct alignas(0x1000) type { unsigned char __lx[(_Len + 0x1000 - 1)/0x1000 * 0x1000]; };}; template struct aligned_storage<_Len, 0x2000>{ struct alignas(0x2000) type { unsigned char __lx[(_Len + 0x2000 - 1)/0x2000 * 0x2000]; };}; template struct aligned_storage<_Len, 0x4000>{ struct alignas(0x4000) type { unsigned char __lx[(_Len + 0x4000 - 1)/0x4000 * 0x4000]; };}; template struct __static_max; template struct __static_max<_I0> { static const size_t value = _I0; }; template struct __static_max<_I0, _I1, _In...> { static const size_t value = _I0 >= _I1 ? __static_max<_I0, _In...>::value : __static_max<_I1, _In...>::value; }; template struct aligned_union { static const size_t alignment_value = __static_max<__alignof__(_Type0), __alignof__(_Types)...>::value; static const size_t __len = __static_max<_Len, sizeof(_Type0), sizeof(_Types)...>::value; typedef typename aligned_storage<__len, alignment_value>::type type; }; template using aligned_union_t = typename aligned_union<_Len, _Types...>::type; template struct __numeric_type { static void __test(...); static float __test(float); static double __test(char); static double __test(int); static double __test(unsigned); static double __test(long); static double __test(unsigned long); static double __test(long long); static double __test(unsigned long long); static double __test(double); static long double __test(long double); typedef decltype(__test(declval<_Tp>())) type; static const bool value = !is_same::value; }; template <> struct __numeric_type { static const bool value = true; }; template ::value && __numeric_type<_A2>::value && __numeric_type<_A3>::value> class __promote_imp { public: static const bool value = false; }; template class __promote_imp<_A1, _A2, _A3, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; typedef typename __promote_imp<_A3>::type __type3; public: typedef decltype(__type1() + __type2() + __type3()) type; static const bool value = true; }; template class __promote_imp<_A1, _A2, void, true> { private: typedef typename __promote_imp<_A1>::type __type1; typedef typename __promote_imp<_A2>::type __type2; public: typedef decltype(__type1() + __type2()) type; static const bool value = true; }; template class __promote_imp<_A1, void, void, true> { public: typedef typename __numeric_type<_A1>::type type; static const bool value = true; }; template class __promote : public __promote_imp<_A1, _A2, _A3> {}; typedef __type_list > > > > __signed_types; typedef __type_list > > > > __unsigned_types; template struct __find_first; template struct __find_first<__type_list<_Hp, _Tp>, _Size, true> { typedef _Hp type; }; template struct __find_first<__type_list<_Hp, _Tp>, _Size, false> { typedef typename __find_first<_Tp, _Size>::type type; }; template ::type>::value, bool = is_volatile::type>::value> struct __apply_cv { typedef _Up type; }; template struct __apply_cv<_Tp, _Up, true, false> { typedef const _Up type; }; template struct __apply_cv<_Tp, _Up, false, true> { typedef volatile _Up type; }; template struct __apply_cv<_Tp, _Up, true, true> { typedef const volatile _Up type; }; template struct __apply_cv<_Tp&, _Up, false, false> { typedef _Up& type; }; template struct __apply_cv<_Tp&, _Up, true, false> { typedef const _Up& type; }; template struct __apply_cv<_Tp&, _Up, false, true> { typedef volatile _Up& type; }; template struct __apply_cv<_Tp&, _Up, true, true> { typedef const volatile _Up& type; }; template ::value || is_enum<_Tp>::value> struct __make_signed {}; template struct __make_signed<_Tp, true> { typedef typename __find_first<__signed_types, sizeof(_Tp)>::type type; }; template <> struct __make_signed {}; template <> struct __make_signed< signed short, true> {typedef short type;}; template <> struct __make_signed {typedef short type;}; template <> struct __make_signed< signed int, true> {typedef int type;}; template <> struct __make_signed {typedef int type;}; template <> struct __make_signed< signed long, true> {typedef long type;}; template <> struct __make_signed {typedef long type;}; template <> struct __make_signed< signed long long, true> {typedef long long type;}; template <> struct __make_signed {typedef long long type;}; template struct make_signed { typedef typename __apply_cv<_Tp, typename __make_signed::type>::type>::type type; }; template using make_signed_t = typename make_signed<_Tp>::type; template ::value || is_enum<_Tp>::value> struct __make_unsigned {}; template struct __make_unsigned<_Tp, true> { typedef typename __find_first<__unsigned_types, sizeof(_Tp)>::type type; }; template <> struct __make_unsigned {}; template <> struct __make_unsigned< signed short, true> {typedef unsigned short type;}; template <> struct __make_unsigned {typedef unsigned short type;}; template <> struct __make_unsigned< signed int, true> {typedef unsigned int type;}; template <> struct __make_unsigned {typedef unsigned int type;}; template <> struct __make_unsigned< signed long, true> {typedef unsigned long type;}; template <> struct __make_unsigned {typedef unsigned long type;}; template <> struct __make_unsigned< signed long long, true> {typedef unsigned long long type;}; template <> struct __make_unsigned {typedef unsigned long long type;}; template struct make_unsigned { typedef typename __apply_cv<_Tp, typename __make_unsigned::type>::type>::type type; }; template using make_unsigned_t = typename make_unsigned<_Tp>::type; template struct common_type {}; template struct common_type<_Tp> : public common_type<_Tp, _Tp> {}; template struct __common_type2_imp {}; template struct __common_type2_imp<_Tp, _Up, typename __void_t() : std::__2::declval<_Up>() )>::type> { typedef typename decay() : std::__2::declval<_Up>() )>::type type; }; template ::type, class _DUp = typename decay<_Up>::type> using __common_type2 = typename conditional< is_same<_Tp, _DTp>::value && is_same<_Up, _DUp>::value, __common_type2_imp<_Tp, _Up>, common_type<_DTp, _DUp> >::type; template struct common_type<_Tp, _Up> : __common_type2<_Tp, _Up> {}; template struct __common_types; template struct __common_type_impl {}; template struct __common_type_impl< __common_types<_Tp, _Up>, typename __void_t::type>::type> { typedef typename common_type<_Tp, _Up>::type type; }; template struct __common_type_impl<__common_types<_Tp, _Up, _Vp...>, typename __void_t::type>::type> : __common_type_impl< __common_types::type, _Vp...> > { }; template struct common_type<_Tp, _Up, _Vp...> : __common_type_impl<__common_types<_Tp, _Up, _Vp...> > {}; template using common_type_t = typename common_type<_Tp...>::type; template struct __select_2nd { typedef _Tp type; }; template typename __select_2nd() = std::__2::declval<_Arg>())), true_type>::type __is_assignable_test(int); template false_type __is_assignable_test(...); template ::value || is_void<_Arg>::value> struct __is_assignable_imp : public decltype((std::__2::__is_assignable_test<_Tp, _Arg>(0))) {}; template struct __is_assignable_imp<_Tp, _Arg, true> : public false_type { }; template struct is_assignable : public __is_assignable_imp<_Tp, _Arg> {}; template struct is_copy_assignable : public is_assignable::type, typename add_lvalue_reference::type>::type> {}; template struct is_move_assignable : public is_assignable::type, typename add_rvalue_reference<_Tp>::type> {}; template struct __is_destructible_apply { typedef int type; }; template struct __is_destructor_wellformed { template static char __test ( typename __is_destructible_apply().~_Tp1())>::type ); template static __two __test (...); static const bool value = sizeof(__test<_Tp>(12)) == sizeof(char); }; template struct __destructible_imp; template struct __destructible_imp<_Tp, false> : public std::__2::integral_constant::type>::value> {}; template struct __destructible_imp<_Tp, true> : public std::__2::true_type {}; template struct __destructible_false; template struct __destructible_false<_Tp, false> : public __destructible_imp<_Tp, std::__2::is_reference<_Tp>::value> {}; template struct __destructible_false<_Tp, true> : public std::__2::false_type {}; template struct is_destructible : public __destructible_false<_Tp, std::__2::is_function<_Tp>::value> {}; template struct is_destructible<_Tp[]> : public std::__2::false_type {}; template <> struct is_destructible : public std::__2::false_type {}; template inline __attribute__ ((__always_inline__)) constexpr typename remove_reference<_Tp>::type&& move(_Tp&& __t) noexcept { typedef typename remove_reference<_Tp>::type _Up; return static_cast<_Up&&>(__t); } template inline __attribute__ ((__always_inline__)) constexpr _Tp&& forward(typename remove_reference<_Tp>::type& __t) noexcept { return static_cast<_Tp&&>(__t); } template inline __attribute__ ((__always_inline__)) constexpr _Tp&& forward(typename remove_reference<_Tp>::type&& __t) noexcept { static_assert(!is_lvalue_reference<_Tp>::value, "can not forward an rvalue as an lvalue"); return static_cast<_Tp&&>(__t); } template inline __attribute__ ((__always_inline__)) typename decay<_Tp>::type __decay_copy(_Tp&& __t) { return std::__2::forward<_Tp>(__t); } template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...), true, false> { typedef _Class _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...), true, false> { typedef _Class _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const, true, false> { typedef _Class const _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const, true, false> { typedef _Class const _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) volatile, true, false> { typedef _Class volatile _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) volatile, true, false> { typedef _Class volatile _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const volatile, true, false> { typedef _Class const volatile _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const volatile, true, false> { typedef _Class const volatile _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) &, true, false> { typedef _Class& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) &, true, false> { typedef _Class& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const&, true, false> { typedef _Class const& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const&, true, false> { typedef _Class const& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) volatile&, true, false> { typedef _Class volatile& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) volatile&, true, false> { typedef _Class volatile& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const volatile&, true, false> { typedef _Class const volatile& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const volatile&, true, false> { typedef _Class const volatile& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) &&, true, false> { typedef _Class&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) &&, true, false> { typedef _Class&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const&&, true, false> { typedef _Class const&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const&&, true, false> { typedef _Class const&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) volatile&&, true, false> { typedef _Class volatile&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) volatile&&, true, false> { typedef _Class volatile&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...) const volatile&&, true, false> { typedef _Class const volatile&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param...); }; template struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const volatile&&, true, false> { typedef _Class const volatile&& _ClassType; typedef _Rp _ReturnType; typedef _Rp (_FnType) (_Param..., ...); }; template struct __member_pointer_traits_imp<_Rp _Class::*, false, true> { typedef _Class _ClassType; typedef _Rp _ReturnType; }; template struct __member_pointer_traits : public __member_pointer_traits_imp::type, is_member_function_pointer<_MP>::value, is_member_object_pointer<_MP>::value> { }; template struct __member_pointer_class_type {}; template struct __member_pointer_class_type<_Ret _ClassType::*> { typedef _ClassType type; }; template class result_of; namespace __is_construct { struct __nat {}; } template struct __libcpp_is_constructible; template struct __is_invalid_base_to_derived_cast { static_assert(is_reference<_To>::value, "Wrong specialization"); using _RawFrom = __uncvref_t<_From>; using _RawTo = __uncvref_t<_To>; static const bool value = __lazy_and< __lazy_not>, is_base_of<_RawFrom, _RawTo>, __lazy_not<__libcpp_is_constructible<_RawTo, _From>> >::value; }; template struct __is_invalid_lvalue_to_rvalue_cast : false_type { static_assert(is_reference<_To>::value, "Wrong specialization"); }; template struct __is_invalid_lvalue_to_rvalue_cast<_ToRef&&, _FromRef&> { using _RawFrom = __uncvref_t<_FromRef>; using _RawTo = __uncvref_t<_ToRef>; static const bool value = __lazy_and< __lazy_not>, __lazy_or< is_same<_RawFrom, _RawTo>, is_base_of<_RawTo, _RawFrom>> >::value; }; struct __is_constructible_helper { template static void __eat(_To); template (std::__2::declval<_From>()))> static true_type __test_cast(int); template (std::__2::declval<_From>()))> static integral_constant::value && !__is_invalid_lvalue_to_rvalue_cast<_To, _From>::value > __test_cast(long); template static false_type __test_cast(...); template ()...))> static true_type __test_nary(int); template static false_type __test_nary(...); template ()))> static is_destructible<_Tp> __test_unary(int); template static false_type __test_unary(...); }; template ::value> struct __is_default_constructible : decltype(__is_constructible_helper::__test_nary<_Tp>(0)) {}; template struct __is_default_constructible<_Tp, true> : false_type {}; template struct __is_default_constructible<_Tp[], false> : false_type {}; template struct __is_default_constructible<_Tp[_Nx], false> : __is_default_constructible::type> {}; template struct __libcpp_is_constructible { static_assert(sizeof...(_Args) > 1, "Wrong specialization"); typedef decltype(__is_constructible_helper::__test_nary<_Tp, _Args...>(0)) type; }; template struct __libcpp_is_constructible<_Tp> : __is_default_constructible<_Tp> {}; template struct __libcpp_is_constructible<_Tp, _A0> : public decltype(__is_constructible_helper::__test_unary<_Tp, _A0>(0)) {}; template struct __libcpp_is_constructible<_Tp&, _A0> : public decltype(__is_constructible_helper:: __test_cast<_Tp&, _A0>(0)) {}; template struct __libcpp_is_constructible<_Tp&&, _A0> : public decltype(__is_constructible_helper:: __test_cast<_Tp&&, _A0>(0)) {}; template struct is_constructible : public __libcpp_is_constructible<_Tp, _Args...>::type {}; template struct is_default_constructible : public is_constructible<_Tp> {}; template struct is_copy_constructible : public is_constructible<_Tp, typename add_lvalue_reference::type>::type> {}; template struct is_move_constructible : public is_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; template struct is_trivially_constructible : integral_constant { }; template struct is_trivially_default_constructible : public is_trivially_constructible<_Tp> {}; template struct is_trivially_copy_constructible : public is_trivially_constructible<_Tp, typename add_lvalue_reference::type> {}; template struct is_trivially_move_constructible : public is_trivially_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; template struct is_trivially_assignable : integral_constant { }; template struct is_trivially_copy_assignable : public is_trivially_assignable::type, typename add_lvalue_reference::type>::type> {}; template struct is_trivially_move_assignable : public is_trivially_assignable::type, typename add_rvalue_reference<_Tp>::type> {}; template struct is_trivially_destructible : public integral_constant::value && __has_trivial_destructor(_Tp)> {}; template struct __libcpp_is_nothrow_constructible; template struct __libcpp_is_nothrow_constructible< true, false, _Tp, _Args...> : public integral_constant()...))> { }; template void __implicit_conversion_to(_Tp) noexcept { } template struct __libcpp_is_nothrow_constructible< true, true, _Tp, _Arg> : public integral_constant(declval<_Arg>()))> { }; template struct __libcpp_is_nothrow_constructible< false, _IsReference, _Tp, _Args...> : public false_type { }; template struct is_nothrow_constructible : __libcpp_is_nothrow_constructible::value, is_reference<_Tp>::value, _Tp, _Args...> { }; template struct is_nothrow_constructible<_Tp[_Ns]> : __libcpp_is_nothrow_constructible::value, is_reference<_Tp>::value, _Tp> { }; template struct is_nothrow_default_constructible : public is_nothrow_constructible<_Tp> {}; template struct is_nothrow_copy_constructible : public is_nothrow_constructible<_Tp, typename add_lvalue_reference::type>::type> {}; template struct is_nothrow_move_constructible : public is_nothrow_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; template struct __libcpp_is_nothrow_assignable; template struct __libcpp_is_nothrow_assignable : public false_type { }; template struct __libcpp_is_nothrow_assignable : public integral_constant() = std::__2::declval<_Arg>()) > { }; template struct is_nothrow_assignable : public __libcpp_is_nothrow_assignable::value, _Tp, _Arg> { }; template struct is_nothrow_copy_assignable : public is_nothrow_assignable::type, typename add_lvalue_reference::type>::type> {}; template struct is_nothrow_move_assignable : public is_nothrow_assignable::type, typename add_rvalue_reference<_Tp>::type> {}; template struct __libcpp_is_nothrow_destructible; template struct __libcpp_is_nothrow_destructible : public false_type { }; template struct __libcpp_is_nothrow_destructible : public integral_constant().~_Tp()) > { }; template struct is_nothrow_destructible : public __libcpp_is_nothrow_destructible::value, _Tp> { }; template struct is_nothrow_destructible<_Tp[_Ns]> : public is_nothrow_destructible<_Tp> { }; template struct is_nothrow_destructible<_Tp&> : public true_type { }; template struct is_nothrow_destructible<_Tp&&> : public true_type { }; template struct is_pod : public integral_constant {}; template struct is_literal_type : public integral_constant {}; template struct is_standard_layout : public integral_constant {}; template struct is_trivially_copyable : public integral_constant {}; template struct is_trivial : public integral_constant {}; template struct __is_reference_wrapper_impl : public false_type {}; template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper : public __is_reference_wrapper_impl::type> {}; template struct __check_complete; template <> struct __check_complete<> { }; template struct __check_complete<_Hp, _T0, _Tp...> : private __check_complete<_Hp>, private __check_complete<_T0, _Tp...> { }; template struct __check_complete<_Hp, _Hp> : private __check_complete<_Hp> { }; template struct __check_complete<_Tp> { static_assert(sizeof(_Tp) > 0, "Type must be complete."); }; template struct __check_complete<_Tp&> : private __check_complete<_Tp> { }; template struct __check_complete<_Tp&&> : private __check_complete<_Tp> { }; template struct __check_complete<_Rp (*)(_Param...)> : private __check_complete<_Rp> { }; template struct __check_complete { }; template struct __check_complete<_Rp (_Param...)> : private __check_complete<_Rp> { }; template struct __check_complete { }; template struct __check_complete<_Rp (_Class::*)(_Param...)> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) volatile> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const volatile> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) &> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) volatile&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const volatile&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) &&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const&&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) volatile&&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp (_Class::*)(_Param...) const volatile&&> : private __check_complete<_Class> { }; template struct __check_complete<_Rp _Class::*> : private __check_complete<_Class> { }; template ::type, class _DecayA0 = typename decay<_A0>::type, class _ClassT = typename __member_pointer_class_type<_DecayFp>::type> using __enable_if_bullet1 = typename enable_if < is_member_function_pointer<_DecayFp>::value && is_base_of<_ClassT, _DecayA0>::value >::type; template ::type, class _DecayA0 = typename decay<_A0>::type> using __enable_if_bullet2 = typename enable_if < is_member_function_pointer<_DecayFp>::value && __is_reference_wrapper<_DecayA0>::value >::type; template ::type, class _DecayA0 = typename decay<_A0>::type, class _ClassT = typename __member_pointer_class_type<_DecayFp>::type> using __enable_if_bullet3 = typename enable_if < is_member_function_pointer<_DecayFp>::value && !is_base_of<_ClassT, _DecayA0>::value && !__is_reference_wrapper<_DecayA0>::value >::type; template ::type, class _DecayA0 = typename decay<_A0>::type, class _ClassT = typename __member_pointer_class_type<_DecayFp>::type> using __enable_if_bullet4 = typename enable_if < is_member_object_pointer<_DecayFp>::value && is_base_of<_ClassT, _DecayA0>::value >::type; template ::type, class _DecayA0 = typename decay<_A0>::type> using __enable_if_bullet5 = typename enable_if < is_member_object_pointer<_DecayFp>::value && __is_reference_wrapper<_DecayA0>::value >::type; template ::type, class _DecayA0 = typename decay<_A0>::type, class _ClassT = typename __member_pointer_class_type<_DecayFp>::type> using __enable_if_bullet6 = typename enable_if < is_member_object_pointer<_DecayFp>::value && !is_base_of<_ClassT, _DecayA0>::value && !__is_reference_wrapper<_DecayA0>::value >::type; template auto __invoke(__any, _Args&& ...__args) -> __nat; template auto __invoke_constexpr(__any, _Args&& ...__args) -> __nat; template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept((std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...))) -> decltype((std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...)) { return (std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept((std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...))) -> decltype((std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...)) { return (std::__2::forward<_A0>(__a0).*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept((__a0 . get().*__f)(std::__2::forward<_Args>(__args)...))) -> decltype((__a0 . get().*__f)(std::__2::forward<_Args>(__args)...)) { return (__a0 . get().*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept((__a0 . get().*__f)(std::__2::forward<_Args>(__args)...))) -> decltype((__a0 . get().*__f)(std::__2::forward<_Args>(__args)...)) { return (__a0 . get().*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept(((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...))) -> decltype(((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...)) { return ((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0, _Args&& ...__args) noexcept(noexcept(((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...))) -> decltype(((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...)) { return ((*std::__2::forward<_A0>(__a0)).*__f)(std::__2::forward<_Args>(__args)...); } template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0) noexcept(noexcept(std::__2::forward<_A0>(__a0).*__f)) -> decltype(std::__2::forward<_A0>(__a0).*__f) { return std::__2::forward<_A0>(__a0).*__f; } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0) noexcept(noexcept(std::__2::forward<_A0>(__a0).*__f)) -> decltype(std::__2::forward<_A0>(__a0).*__f) { return std::__2::forward<_A0>(__a0).*__f; } template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0) noexcept(noexcept(__a0 . get().*__f)) -> decltype(__a0 . get().*__f) { return __a0 . get().*__f; } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0) noexcept(noexcept(__a0 . get().*__f)) -> decltype(__a0 . get().*__f) { return __a0 . get().*__f; } template > inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _A0&& __a0) noexcept(noexcept((*std::__2::forward<_A0>(__a0)).*__f)) -> decltype((*std::__2::forward<_A0>(__a0)).*__f) { return (*std::__2::forward<_A0>(__a0)).*__f; } template > inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _A0&& __a0) noexcept(noexcept((*std::__2::forward<_A0>(__a0)).*__f)) -> decltype((*std::__2::forward<_A0>(__a0)).*__f) { return (*std::__2::forward<_A0>(__a0)).*__f; } template inline __attribute__ ((__always_inline__)) auto __invoke(_Fp&& __f, _Args&& ...__args) noexcept(noexcept(std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...))) -> decltype(std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...)) { return std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...); } template inline __attribute__ ((__always_inline__)) constexpr auto __invoke_constexpr(_Fp&& __f, _Args&& ...__args) noexcept(noexcept(std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...))) -> decltype(std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...)) { return std::__2::forward<_Fp>(__f)(std::__2::forward<_Args>(__args)...); } template struct __invokable_r : private __check_complete<_Fp> { using _Result = decltype( std::__2::__invoke(std::__2::declval<_Fp>(), std::__2::declval<_Args>()...)); using type = typename conditional< !is_same<_Result, __nat>::value, typename conditional< is_void<_Ret>::value, true_type, is_convertible<_Result, _Ret> >::type, false_type >::type; static const bool value = type::value; }; template using __invokable = __invokable_r; template struct __nothrow_invokable_r_imp { static const bool value = false; }; template struct __nothrow_invokable_r_imp { typedef __nothrow_invokable_r_imp _ThisT; template static void __test_noexcept(_Tp) noexcept; static const bool value = noexcept(_ThisT::__test_noexcept<_Ret>( std::__2::__invoke(std::__2::declval<_Fp>(), std::__2::declval<_Args>()...))); }; template struct __nothrow_invokable_r_imp { static const bool value = noexcept( std::__2::__invoke(std::__2::declval<_Fp>(), std::__2::declval<_Args>()...)); }; template using __nothrow_invokable_r = __nothrow_invokable_r_imp< __invokable_r<_Ret, _Fp, _Args...>::value, is_void<_Ret>::value, _Ret, _Fp, _Args... >; template struct __invoke_of : public enable_if< __invokable<_Fp, _Args...>::value, typename __invokable_r::_Result> { }; template class result_of<_Fp(_Args...)> : public __invoke_of<_Fp, _Args...> { }; template using result_of_t = typename result_of<_Tp>::type; template struct __is_swappable; template struct __is_nothrow_swappable; template inline __attribute__ ((__always_inline__)) typename enable_if < is_move_constructible<_Tp>::value && is_move_assignable<_Tp>::value >::type swap(_Tp& __x, _Tp& __y) noexcept(is_nothrow_move_constructible<_Tp> ::value && is_nothrow_move_assignable<_Tp> ::value) { _Tp __t(std::__2::move(__x)); __x = std::__2::move(__y); __y = std::__2::move(__t); } template inline __attribute__ ((__always_inline__)) typename enable_if< __is_swappable<_Tp>::value >::type swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) noexcept(__is_nothrow_swappable<_Tp> ::value); template inline __attribute__ ((__always_inline__)) void iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) noexcept(noexcept(swap(*std::__2::declval<_ForwardIterator1>(), *std::__2::declval<_ForwardIterator2>()))) { swap(*__a, *__b); } namespace __detail { template ::value && !is_void<_Up>::value> struct __swappable_with { template static decltype(swap(std::__2::declval<_LHS>(), std::__2::declval<_RHS>())) __test_swap(int); template static __nat __test_swap(long); typedef decltype((__test_swap<_Tp, _Up>(0))) __swap1; typedef decltype((__test_swap<_Up, _Tp>(0))) __swap2; static const bool value = !is_same<__swap1, __nat>::value && !is_same<__swap2, __nat>::value; }; template struct __swappable_with<_Tp, _Up, false> : false_type {}; template ::value> struct __nothrow_swappable_with { static const bool value = noexcept(swap(std::__2::declval<_Tp>(), std::__2::declval<_Up>())) && noexcept(swap(std::__2::declval<_Up>(), std::__2::declval<_Tp>())); }; template struct __nothrow_swappable_with<_Tp, _Up, false> : false_type {}; } template struct __is_swappable : public integral_constant::value> { }; template struct __is_nothrow_swappable : public integral_constant::value> { }; template struct underlying_type { typedef __underlying_type(_Tp) type; }; template using underlying_type_t = typename underlying_type<_Tp>::type; template ::value> struct __sfinae_underlying_type { typedef typename underlying_type<_Tp>::type type; typedef decltype(((type)1) + 0) __promoted_type; }; template struct __sfinae_underlying_type<_Tp, false> {}; inline __attribute__ ((__always_inline__)) int __convert_to_integral(int __val) { return __val; } inline __attribute__ ((__always_inline__)) unsigned __convert_to_integral(unsigned __val) { return __val; } inline __attribute__ ((__always_inline__)) long __convert_to_integral(long __val) { return __val; } inline __attribute__ ((__always_inline__)) unsigned long __convert_to_integral(unsigned long __val) { return __val; } inline __attribute__ ((__always_inline__)) long long __convert_to_integral(long long __val) { return __val; } inline __attribute__ ((__always_inline__)) unsigned long long __convert_to_integral(unsigned long long __val) {return __val; } template inline __attribute__ ((__always_inline__)) typename __sfinae_underlying_type<_Tp>::__promoted_type __convert_to_integral(_Tp __val) { return __val; } template struct __has_operator_addressof_member_imp { template static auto __test(int) -> typename __select_2nd().operator&()), true_type>::type; template static auto __test(long) -> false_type; static const bool value = decltype(__test<_Tp>(0))::value; }; template struct __has_operator_addressof_free_imp { template static auto __test(int) -> typename __select_2nd())), true_type>::type; template static auto __test(long) -> false_type; static const bool value = decltype(__test<_Tp>(0))::value; }; template struct __has_operator_addressof : public integral_constant::value || __has_operator_addressof_free_imp<_Tp>::value> {}; struct __extract_key_fail_tag {}; struct __extract_key_self_tag {}; struct __extract_key_first_tag {}; template ::type> struct __can_extract_key : conditional::value, __extract_key_self_tag, __extract_key_fail_tag>::type {}; template struct __can_extract_key<_Pair, _Key, pair<_First, _Second>> : conditional::type, _Key>::value, __extract_key_first_tag, __extract_key_fail_tag>::type {}; template ::type> struct __can_extract_map_key : integral_constant::value> {}; template struct __can_extract_map_key<_ValTy, _Key, _Key, _RawValTy> : false_type {}; } } #pragma GCC system_header #pragma diag_push #pragma CHECK_MISRA("-6.3") #pragma CHECK_MISRA("-19.1") #pragma CHECK_MISRA("-20.1") #pragma CHECK_MISRA("-20.2") extern "C" { #pragma diag_push #pragma CHECK_MISRA("-19.4") #pragma CHECK_MISRA("-19.1") #pragma diag_push #pragma CHECK_MISRA("-19.4") #pragma diag_pop #pragma diag_pop #pragma diag_push #pragma CHECK_MISRA("-19.4") #pragma diag_pop size_t strlen(const char *string); char *strcpy(char * __restrict dest, const char * __restrict src); char *strncpy(char * __restrict dest, const char * __restrict src, size_t n); char *strcat(char * __restrict string1, const char * __restrict string2); char *strncat(char * __restrict dest, const char * __restrict src, size_t n); char *strchr(const char *string, int c); char *strrchr(const char *string, int c); int strcmp(const char *string1, const char *string2); int strncmp(const char *string1, const char *string2, size_t n); int strcoll(const char *string1, const char *_string2); size_t strxfrm(char * __restrict to, const char * __restrict from, size_t n); char *strpbrk(const char *string, const char *chs); size_t strspn(const char *string, const char *chs); size_t strcspn(const char *string, const char *chs); char *strstr(const char *string1, const char *string2); char *strtok(char * __restrict str1, const char * __restrict str2); char *strerror(int _errno); char *strdup(const char *string); void *memmove(void *s1, const void *s2, size_t n); #pragma diag_push #pragma CHECK_MISRA("-16.4") void *memcpy(void * __restrict s1, const void * __restrict s2, size_t n); #pragma diag_pop int memcmp(const void *cs, const void *ct, size_t n); void *memchr(const void *cs, int c, size_t n); void *memset(void *mem, int ch, size_t length); } #pragma diag_pop #pragma GCC system_header namespace std { inline namespace __2 { using ::size_t; using ::memcpy; using ::memmove; using ::strcpy; using ::strncpy; using ::strcat; using ::strncat; using ::memcmp; using ::strcmp; using ::strncmp; using ::strcoll; using ::strxfrm; using ::memchr; using ::strchr; using ::strcspn; using ::strpbrk; using ::strrchr; using ::strspn; using ::strstr; using ::strtok; using ::memset; using ::strerror; using ::strlen; } } #pragma GCC system_header namespace std { inline namespace __2 { template class tuple_size; template using __enable_if_tuple_size_imp = _Tp; template class tuple_size<__enable_if_tuple_size_imp< const _Tp, typename enable_if::value>::type, integral_constant)>>> : public integral_constant::value> {}; template class tuple_size<__enable_if_tuple_size_imp< volatile _Tp, typename enable_if::value>::type, integral_constant)>>> : public integral_constant::value> {}; template class tuple_size<__enable_if_tuple_size_imp< const volatile _Tp, integral_constant)>>> : public integral_constant::value> {}; template class tuple_element; template class tuple_element<_Ip, const _Tp> { public: typedef typename add_const::type>::type type; }; template class tuple_element<_Ip, volatile _Tp> { public: typedef typename add_volatile::type>::type type; }; template class tuple_element<_Ip, const volatile _Tp> { public: typedef typename add_cv::type>::type type; }; template struct __tuple_like : false_type {}; template struct __tuple_like : public __tuple_like<_Tp> {}; template struct __tuple_like : public __tuple_like<_Tp> {}; template struct __tuple_like : public __tuple_like<_Tp> {}; template struct __tuple_indices {}; template struct __integer_sequence { template