@@ -175,7 +175,7 @@ boost
175175 {
176176 class error_info_base ;
177177 struct type_info_ ;
178- class writer ;
178+ class encoder ;
179179
180180 struct
181181 error_info_container
@@ -186,7 +186,7 @@ boost
186186 virtual void add_ref () const = 0;
187187 virtual bool release () const = 0;
188188 virtual refcount_ptr<exception_detail::error_info_container> clone () const = 0;
189- virtual void write_to ( writer & ) const { }
189+ virtual void serialize_to ( encoder & ) const { }
190190
191191 protected:
192192
@@ -229,8 +229,8 @@ boost
229229
230230 void copy_boost_exception ( exception *, exception const * );
231231
232- template <class Writer >
233- void write_diagnostic_information_to_impl_ ( exception const *, std::exception const *, Writer & );
232+ template <class Encoder >
233+ void serialize_diagnostic_information_to_impl_ ( exception const *, std::exception const *, Encoder & );
234234
235235 template <class E ,class Tag ,class T >
236236 E const & set_info ( E const &, error_info<Tag,T> const & );
@@ -326,7 +326,7 @@ boost
326326 friend struct exception_detail ::set_info_rv<throw_line>;
327327 friend struct exception_detail ::set_info_rv<throw_column>;
328328 friend void exception_detail::copy_boost_exception ( exception *, exception const * );
329- template <class Writer > friend void exception_detail::write_diagnostic_information_to_impl_ ( exception const *, std::exception const *, Writer & );
329+ template <class Encoder > friend void exception_detail::serialize_diagnostic_information_to_impl_ ( exception const *, std::exception const *, Encoder & );
330330#endif
331331 mutable exception_detail::refcount_ptr<exception_detail::error_info_container> data_;
332332 mutable char const * throw_function_;
0 commit comments