polybassa/Wifly_Light — pull request #109 by tawarisch (2013-04-10 22:44:44+00:00)
Title: usage of std::function to replace SolveExceptions()

...id)const function

implement FatalError::AsErrorCode() to bind the ErrorCodes closer to the exceptions, which saves some lines of code too

Todo:
- make WiflyControl::FwSend() const, when using FwRequest as a parameter so we can use our new WiflyControlNoThrow::Try() for the firmware functions too. Else we had to writte an overloader Try() for that purpose
- add some overloades to Try() to support other functions with different parameters, research if va_args or variadic templates can help here