Used ==
in fact:
template< class CharT, class traits, class Alloc >
bool operator==( const basic_string<CharT,Traits,Alloc>& lhs,
const basic_string<CharT,Traits,Alloc>& rhs );
Custom conversion sequences are not counted for template type inference, so it cannot output parameter CharT
(or others) here.
To fix this, you might have to define your own custom template operator==
.
source
to share