diff --git a/include/rapidjson/encodings.h b/include/rapidjson/encodings.h index 50ad18bdc..2b398ece5 100644 --- a/include/rapidjson/encodings.h +++ b/include/rapidjson/encodings.h @@ -83,6 +83,10 @@ concept Encoding { \endcode */ +// Forward declaration. +template +inline void PutUnsafe(Stream& stream, typename Stream::Ch c); + /////////////////////////////////////////////////////////////////////////////// // UTF8 @@ -682,10 +686,6 @@ struct Transcoder { } }; -// Forward declaration. -template -inline void PutUnsafe(Stream& stream, typename Stream::Ch c); - //! Specialization of Transcoder with same source and target encoding. template struct Transcoder {