Tweaks and addition of main header mpl.hpp to make using MPL and Fusion easy

[SVN r35142]
This commit is contained in:
Joel de Guzman
2006-09-17 13:05:25 +00:00
parent eb324cc029
commit 147abb8cdd
3 changed files with 36 additions and 0 deletions

View File

@ -44,6 +44,24 @@ namespace boost { namespace fusion { namespace detail
{
typedef random_access_traversal_tag type;
};
template <>
struct mpl_iterator_category<forward_traversal_tag>
{
typedef forward_traversal_tag type;
};
template <>
struct mpl_iterator_category<bidirectional_traversal_tag>
{
typedef bidirectional_traversal_tag type;
};
template <>
struct mpl_iterator_category<random_access_traversal_tag>
{
typedef random_access_traversal_tag type;
};
}}}
#endif