1 #ifndef BOOST_ARCHIVE_ITERATORS_BASE16_FROM_BINARY_HPP
2 #define BOOST_ARCHIVE_ITERATORS_BASE16_FROM_BINARY_HPP
17 #include <boost/config.hpp>
18 #if defined(BOOST_NO_STDC_NAMESPACE)
25 #include <boost/archive/iterators/base64_from_binary.hpp>
36 template<
class CharType>
40 const char * lookup_table =
44 return (lookup_table[static_cast<size_t>(t)]);
66 class CharType = BOOST_DEDUCED_TYPENAME boost::iterator_value<Base>::type
69 public transform_iterator<
70 detail::from_4_bit<CharType>,
75 typedef transform_iterator<
85 Base(static_cast<T>(start)),
86 detail::from_4_bit<CharType>()
92 Base(rhs.base_reference()),
93 detail::from_4_bit<CharType>()
103 #endif // BOOST_ARCHIVE_ITERATORS_BASE16_FROM_BINARY_HPP
#define isc_throw_assert(expr)
Replacement for assert() that throws if the expression is false.
friend class boost::iterator_core_access
base16_from_binary(T start)
CharType operator()(CharType t) const
base16_from_binary(const base16_from_binary &rhs)