namespace flann { namespace 
{ template<typename T>
hid_t get_hdf5_type()
{
throw FLANNException("Unsupported type for IO operations");
} template<> hid_t get_hdf5_type<char>() { return H5T_NATIVE_CHAR; }
template<> hid_t get_hdf5_type<unsigned char>() { return H5T_NATIVE_UCHAR; }
template<> hid_t get_hdf5_type<short int>() { return H5T_NATIVE_SHORT; }
template<> hid_t get_hdf5_type<unsigned short int>() { return H5T_NATIVE_USHORT; }
template<> hid_t get_hdf5_type<int>() { return H5T_NATIVE_INT; }
template<> hid_t get_hdf5_type<unsigned int>() { return H5T_NATIVE_UINT; }
template<> hid_t get_hdf5_type<long>() { return H5T_NATIVE_LONG; }
template<> hid_t get_hdf5_type<unsigned long>() { return H5T_NATIVE_ULONG; }
template<> hid_t get_hdf5_type<float>() { return H5T_NATIVE_FLOAT; }
template<> hid_t get_hdf5_type<double>() { return H5T_NATIVE_DOUBLE; }
template<> hid_t get_hdf5_type<long double>() { return H5T_NATIVE_LDOUBLE; }
}语法错误,在get_hdf5_type前缺少';'