DATRW++ library: seismic data I/O with multiple formats
◆
types_are_equal()
template<typename t1 , typename t2 >
bool datrw::types_are_equal
(
)
inline
call this function to check whether two types equal
Parameters
t1
first type
t2
second type
Returns
true if t1 equals t2
Definition at line
119
of file
datatypes.h
.
120
{
121
bool
retval;
122
std::string typeid1=::datrw::datatypes::type_id<t1>();
123
std::string typeid2=::datrw::datatypes::type_id<t2>();
124
retval=(typeid1==typeid2);
125
return
(retval);
126
}
// bool types_are_equal()
datrw
Generated on Mon Aug 21 2023 17:36:16 for DATRW++ library: seismic data I/O with multiple formats by
1.8.14