Boost logo

Boost Users :

From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2006-05-09 04:05:49


Hi,

I've got a lot of functions (compression, encryption, hashing,
encoding, etc) that work on a memory range.
I wrote my own class that has constructors for
void*, void*
void*, size_t
std::string&
and that automatically reinterpret_cast to unsigned char*.

But I'm wondering, is there a better way to do this?
Boost.Range looked appriopriate but it seemed it didn't support this scenario.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net