
2 Nov
2011
2 Nov
'11
6:52 a.m.
02.11.2011 0:09, Olaf van der Spek пишет:
Does Boost have hex/unhex() that support std::string? I can't find them and I think they'd be quite handy to have. How exactly should it interpret the following lines: 01 02 0102 01 02 010 2 012 01 2 01\n02 01 | 02 etc.
For the boost library, we need the universal parser that can be customized by the policies. It is also reasonable to have the range-based, stream-based, 0-terminated and wchar_t-based versions. But it is much easier to write exactly what you need in your code. -- Best regards, Sergey Cheban