does boost::crc_32_type generate an exception?

A

A

a reply to myself... it seems that crc.hpp doesn't have any throw in it so I
guess it doesn't generate any exceptions. problem solved :)
 
J

Jorgen Grahn

a reply to myself...

OK, but please quote yourself next time to give some context.
it seems that crc.hpp doesn't have any throw in it so I
guess it doesn't generate any exceptions. problem solved :)

Have you checked so it doesn't call anything which can throw, either?

I had a quick look earlier ... their example indeed catches
exceptions, but only as std::exception and '...'. I get the feeling
it's due to some overall rule like "never let exception escape
main()".

The author should really have documented this. Perhaps he assumed
everyone knew how CRC calculation are performed ...

/Jorgen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,062
Members
48,769
Latest member
Clifft

Latest Threads

Top