require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_CPP_BITS_INDIRECT_ARRAY_H)) {
    eval 'sub _CPP_BITS_INDIRECT_ARRAY_H () {1;}' unless defined(&_CPP_BITS_INDIRECT_ARRAY_H);
    undef(&_DEFINE_VALARRAY_OPERATOR) if defined(&_DEFINE_VALARRAY_OPERATOR);
    eval 'sub _DEFINE_VALARRAY_OPERATOR {
        my($_Op, $_Name) = @_;
	    eval q( &template< &typename  &_Tp>  &inline  &void  &indirect_array< &_Tp>:: &operator $_Op=( &const  &valarray< &_Tp>&  &__v)  &const {  &_Array_augmented_$_Name( &_M_array,  &_M_index,  &_Array< &_Tp>( &__v),  &_M_sz); }  &template< &typename  &_Tp>  &template< &class  &_Dom>  &inline  &void  &indirect_array< &_Tp>:: &operator $_Op=( &const  &_Expr< &_Dom, &_Tp>&  &__e)  &const {  &_Array_augmented_$_Name( &_M_array,  &_M_index,  &__e,  &_M_sz); });
    }' unless defined(&_DEFINE_VALARRAY_OPERATOR);
    undef(&_DEFINE_VALARRAY_OPERATOR) if defined(&_DEFINE_VALARRAY_OPERATOR);
}
1;
