diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2014-04-28 15:25:20 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2014-04-28 16:04:45 +0200 |
| commit | 42442fd5025b69c4b7800c71d6f568ae255e7b00 (patch) | |
| tree | 8e35f36410e9b9cb7d7e5367a62d24b5c5f181c1 /fusion_static_dispatch.hpp | |
| parent | d834eba65c2c65c1540d13c9c39ced51bd87cf83 (diff) | |
| download | generic-gui-42442fd5025b69c4b7800c71d6f568ae255e7b00.tar.gz generic-gui-42442fd5025b69c4b7800c71d6f568ae255e7b00.tar.bz2 generic-gui-42442fd5025b69c4b7800c71d6f568ae255e7b00.zip | |
Adds support for a std::map<std::string, T> model.
Diffstat (limited to 'fusion_static_dispatch.hpp')
| -rw-r--r-- | fusion_static_dispatch.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fusion_static_dispatch.hpp b/fusion_static_dispatch.hpp index 17b6ff4..8b68ba0 100644 --- a/fusion_static_dispatch.hpp +++ b/fusion_static_dispatch.hpp @@ -5,6 +5,8 @@ #include <boost/any.hpp> +#include <functional> + template <typename T, int index> struct TypeAt { typedef friendly_fusion::result_of::begin<T> begin; |
