diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 17:35:58 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 17:35:58 -0400 |
commit | 22c3e411334041c8959055d1d104c3039f1e46b1 (patch) | |
tree | 35981e23e21213d2a5add610ac579a0f6c20cf65 /filters.h | |
parent | 2799132fd7c5f344c7685d0bc7903fb51ef7c2b3 (diff) | |
download | cryptopp-git-22c3e411334041c8959055d1d104c3039f1e46b1.tar.gz |
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
Diffstat (limited to 'filters.h')
-rw-r--r-- | filters.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -582,7 +582,7 @@ public: : SimpleProxyFilter(decryptor.CreateDecryptionFilter(rng), attachment) {} }; -//! Append input to a string object +//! Append input to a std::string object template <class T> class StringSinkTemplate : public Bufferless<Sink> { @@ -664,7 +664,7 @@ public: byte * CreatePutSpace(size_t &size) {return BufferedTransformation::CreatePutSpace(size);} }; -//! string-based implementation of Store interface +//! std::string-based implementation of Store interface class StringStore : public Store { public: @@ -778,13 +778,13 @@ protected: T m_store; }; -//! string-based implementation of Source interface +//! std::string-based implementation of Source interface class CRYPTOPP_DLL StringSource : public SourceTemplate<StringStore> { public: StringSource(BufferedTransformation *attachment = NULL) : SourceTemplate<StringStore>(attachment) {} - //! zero terminated string as source + //! zero terminated std::string as source StringSource(const char *string, bool pumpAll, BufferedTransformation *attachment = NULL) : SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));} //! binary byte array as source |