added std::showbase support

applied the std::showbase part of the integer patch
pull/114/head
DevJPM 2016-01-13 22:42:52 +01:00
parent 082a348b8e
commit ba0ce02134
1 changed files with 8 additions and 1 deletions

View File

@ -3483,7 +3483,14 @@ std::ostream& operator<<(std::ostream& out, const Integer &a)
// out << ",";
}
#ifdef CRYPTOPP_USE_STD_SHOWBASE
if(out.flags() & std::ios_base::showbase)
out << suffix;
return out;
#else
return out << suffix;
#endif
}
Integer& Integer::operator++()