2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-19 14:42:14 +00:00
Files
phoenix/test/regression/bug6268.cpp
2014-01-23 21:59:01 +00:00

21 lines
529 B
C++

#include <boost/fusion/sequence/comparison.hpp>
#include <boost/fusion/sequence/sequence_facade.hpp>
#include <boost/phoenix/core.hpp>
#include <boost/phoenix/operator/comparison.hpp>
struct foo : boost::fusion::sequence_facade<foo, boost::fusion::random_access_traversal_tag>
{
// Rest of the sequence_facade extension mechanism code omitted,
// as it is not needed to reproduce the error
foo() : x(), y() {}
int x;
int y;
};
int main()
{
/*auto x = */ boost::phoenix::arg_names::arg1 < foo();
}