Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10635

does boost::crc_32_type generate an exception?

From "A" <a@a.a>
Newsgroups comp.lang.c++
Subject does boost::crc_32_type generate an exception?
Date 2011-10-02 18:50 +0200
Organization B.net Hrvatska d.o.o.
Message-ID <j6a4ob$jvf$1@gregory.bnet.hr> (permalink)

Show all headers | View raw


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... 

Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

does boost::crc_32_type generate an exception? "A" <a@a.a> - 2011-10-02 18:50 +0200
  Re: does boost::crc_32_type generate an exception? "A" <a@a.a> - 2011-10-04 15:31 +0200
    Re: does boost::crc_32_type generate an exception? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-10-06 09:08 +0000

csiph-web