1 /*=============================================================================
2     Copyright (c) 2005-2007 Dan Marsden
3     Copyright (c) 2005-2007 Joel de Guzman
4     Copyright (c) 2014      John Fletcher
5 
6     Distributed under the Boost Software License, Version 1.0. (See accompanying
7     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9 
10 #include <boost/fusion/sequence/comparison.hpp>
11 #include <boost/fusion/sequence/sequence_facade.hpp>
12 #include <boost/phoenix/core.hpp>
13 #include <boost/phoenix/operator/comparison.hpp>
14 
15 struct foo : boost::fusion::sequence_facade<foo, boost::fusion::random_access_traversal_tag>
16 {
17     // Rest of the sequence_facade extension mechanism code omitted,
18     // as it is not needed to reproduce the error
19 
foofoo20     foo() : x(), y() {}
21 
22     int x;
23     int y;
24 };
25 
main()26 int main()
27 {
28   (void)(boost::phoenix::arg_names::arg1 < foo());
29 }
30