Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has boost::function's default constructor the no-throw guarantee?

The question is in the title. I cannot find the information in the reference documentation. I do not see why the default constructor would throw, but I need to be sure it is no-throw to correctly document my exception guarantees.

like image 458
Christophe Fuzier Avatar asked Nov 01 '22 13:11

Christophe Fuzier


1 Answers

See http://www.boost.org/doc/libs/1_54_0/doc/html/boost/function.html#idp15443616-bb: it explicitly states "Will not throw".

like image 50
richvdh Avatar answered Nov 14 '22 01:11

richvdh