A
A
Can this code generate an exception under some circumstances?
unsigned CRC32(const void *Buffer, unsigned BufferLength)
{
boost::crc_32_type result;
result.process_bytes(Buffer, BufferLength);
return result.checksum();
}
I've seen the example at
http://www.boost.org/doc/libs/1_37_0/libs/crc/crc_example.cpp
but that doesn't tell me if it generates exceptions for crc_32_type alone...
unsigned CRC32(const void *Buffer, unsigned BufferLength)
{
boost::crc_32_type result;
result.process_bytes(Buffer, BufferLength);
return result.checksum();
}
I've seen the example at
http://www.boost.org/doc/libs/1_37_0/libs/crc/crc_example.cpp
but that doesn't tell me if it generates exceptions for crc_32_type alone...