ODR safe code

[SVN r35275]
This commit is contained in:
Joel de Guzman
2006-09-22 13:39:27 +00:00
parent da23c8a4cc
commit a37b435ce6
22 changed files with 269 additions and 21 deletions

View File

@ -17,6 +17,10 @@
namespace boost { namespace fusion
{
struct array_iterator_tag; // boost::array iterator tag
struct mpl_iterator_tag; // mpl sequence iterator tag
struct std_pair_iterator_tag; // std::pair iterator tag
namespace extension
{
template <typename Tag>
@ -28,6 +32,15 @@ namespace boost { namespace fusion
: is_same<typename add_const<I1>::type, typename add_const<I2>::type>
{};
};
template <>
struct equal_to_impl<array_iterator_tag>;
template <>
struct equal_to_impl<mpl_iterator_tag>;
template <>
struct equal_to_impl<std_pair_iterator_tag>;
}
namespace result_of