mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 04:02:17 +00:00
12 lines
324 B
C++
12 lines
324 B
C++
#include <boost/container/string.hpp>
|
|
#include <boost/archive/iterators/binary_from_base64.hpp>
|
|
|
|
int main()
|
|
{
|
|
using String = boost::container::string;
|
|
using Iterator = boost::archive::iterators::binary_from_base64<String::iterator>;
|
|
|
|
String s;
|
|
s.assign(Iterator{s.begin()},Iterator{s.end()});
|
|
return 0;
|
|
} |