adapt plain old array types (1)

[SVN r59576]
This commit is contained in:
Christopher Schmidt
2010-02-07 18:22:06 +00:00
parent b86d7dbe80
commit 5eb9c03cd2
25 changed files with 100 additions and 61 deletions

View File

@ -95,11 +95,16 @@ namespace boost { namespace fusion
template <typename It1, typename It2>
struct distance
: mpl::minus<
typename It2::index
, typename It1::index
>
{};
{
typedef mpl::minus<typename It2::index, typename It1::index> type;
static
type
call(It1 const&, It2 const&)
{
return type();
}
};
template <typename It1, typename It2>
struct equal_to