forked from boostorg/optional
4c165bb47c6d9ca09c504d234c04b8c16a26b308
add a readable functor map that calls a given functor or function upon lookup. Ideas from: http://comments.gmane.org/gmane.comp.lib.boost.user/54397 and: http://comments.gmane.org/gmane.comp.lib.boost.user/73358 [SVN r77438]
Refs #4987. Added forward declaration of namespace-scope swap for boost::optional, this should fix GCC compilation errors. Also swap implementation now uses Boost.Utility.Swap to make use of the workarounds for some broken compilers. If it breaks for your compiler, let me know in the mentioned ticket.
Description
Boost.org optional module
3.1 MiB
Languages
C++
99.1%
CMake
0.4%
Shell
0.4%
HTML
0.1%