5

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.

manlio
  • 18,345
  • 14
  • 76
  • 126

1 Answers1

2

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

richvdh
  • 1,163
  • 11
  • 19