added std::showbase support
applied the std::showbase part of the integer patchpull/114/head
parent
082a348b8e
commit
ba0ce02134
|
|
@ -3483,7 +3483,14 @@ std::ostream& operator<<(std::ostream& out, const Integer &a)
|
|||
// out << ",";
|
||||
}
|
||||
|
||||
return out << suffix;
|
||||
#ifdef CRYPTOPP_USE_STD_SHOWBASE
|
||||
if(out.flags() & std::ios_base::showbase)
|
||||
out << suffix;
|
||||
|
||||
return out;
|
||||
#else
|
||||
return out << suffix;
|
||||
#endif
|
||||
}
|
||||
|
||||
Integer& Integer::operator++()
|
||||
|
|
|
|||
Loading…
Reference in New Issue