Open Tombaysbot opened 4 years ago
/usr/include/c++/9/ostream:691:5: note: template argument deduction/substitution failed: /usr/include/c++/9/ostream: In substitution of ‘template<class _Ostream, class _Tp> typename std::enable_if<std::and_<std::not_<std::is_lvalue_reference<_Tp> >, std::is_convertible_to_basic_ostream<_Ostream>, std::is_insertable<typename std::is_convertible_to_basic_ostream<_Tp>::ostream_type, const _Tp&, void> >::value, typename std::is_convertible_to_basic_ostream<_Tp>::ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream&; _Tp = std::basic_fstream]’: src/sparse.hpp:118:21: required from here /usr/include/c++/9/ostream:691:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream&>’
Did you manage to solve it? I encounter the same error
Apologies for the super delayed response. Were you able to resolve?
Check "Note:" section in readme. I was able to solve the issue by that.
/usr/include/c++/9/ostream:691:5: note: template argument deduction/substitution failed: /usr/include/c++/9/ostream: In substitution of ‘template<class _Ostream, class _Tp> typename std::enable_if<std::and_<std::not_<std::is_lvalue_reference<_Tp> >, std::is_convertible_to_basic_ostream<_Ostream>, std::is_insertable<typename std::is_convertible_to_basic_ostream<_Tp>::ostream_type, const _Tp&, void> >::value, typename std::is_convertible_to_basic_ostream<_Tp>::ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream&; _Tp = std::basic_fstream]’:
src/sparse.hpp:118:21: required from here
/usr/include/c++/9/ostream:691:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream&>’