| 831 | |
| 832 | template<class T> |
| 833 | void |
| 834 | serializer::reset(T const* p) noexcept |
| 835 | { |
| 836 | BOOST_CORE_STATIC_ASSERT( !std::is_pointer<T>::value ); |
| 837 | BOOST_CORE_STATIC_ASSERT( std::is_object<T>::value ); |
| 838 | |
| 839 | p_ = p; |
| 840 | fn0_ = &detail::write_impl<T, true>; |
| 841 | fn1_ = &detail::write_impl<T, false>; |
| 842 | st_.clear(); |
| 843 | done_ = false; |
| 844 | } |
| 845 | |
| 846 | } // namespace json |
| 847 | } // namespace boost |
no test coverage detected