1 #ifndef BOOST_ARCHIVE_ITERATORS_BASE32HEX_FROM_BINARY_HPP
2 #define BOOST_ARCHIVE_ITERATORS_BASE32HEX_FROM_BINARY_HPP
17 #include <boost/config.hpp>
18 #if defined(BOOST_NO_STDC_NAMESPACE)
27 #include <boost/archive/iterators/base64_from_binary.hpp>
38 template<
class CharType>
42 const char * lookup_table =
44 "ABCDEFGHIJKLMNOPQRSTUV";
46 return (lookup_table[static_cast<size_t>(t)]);
68 class CharType = BOOST_DEDUCED_TYPENAME boost::iterator_value<Base>::type
71 public transform_iterator<
72 detail::from_5_bit<CharType>,
77 typedef transform_iterator<
87 Base(static_cast<T>(start)),
88 detail::from_5_bit<CharType>()
94 Base(rhs.base_reference()),
95 detail::from_5_bit<CharType>()
105 #endif // BOOST_ARCHIVE_ITERATORS_BASE32HEX_FROM_BINARY_HPP
#define isc_throw_assert(expr)
Replacement for assert() that throws if the expression is false.
base32hex_from_binary(const base32hex_from_binary &rhs)
base32hex_from_binary(T start)
friend class boost::iterator_core_access
CharType operator()(CharType t) const