/*============================================================================= Copyright (c) 1999-2003 Jaakko Järvi Copyright (c) 2001-2003 Joel de Guzman Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(FUSION_SEQUENCE_NOT_EQUAL_TO_HPP) #define FUSION_SEQUENCE_NOT_EQUAL_TO_HPP #include #include #include #ifdef FUSION_COMFORMING_COMPILER #include #include #include #endif namespace boost { namespace fusion { template inline bool operator!=(sequence_base const& a, sequence_base const& b) { return detail::sequence_not_equal_to:: call( fusion::begin(a.cast()) , fusion::begin(b.cast()) ); } #ifdef FUSION_COMFORMING_COMPILER template inline typename disable_if, bool>::type operator!=(sequence_base const& a, Seq2 const& b) { return a != as_fusion_sequence::convert_const(b); } template inline typename disable_if, bool>::type operator!=(Seq1 const& a, sequence_base const& b) { return as_fusion_sequence::convert_const(a) != b; } #endif }} #endif