/*============================================================================= Copyright (c) 2018 Kohei Takahashi Distributed under 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) ==============================================================================*/ #include #include #include #include #include using namespace boost::fusion; template struct predicate {}; struct unique {}; template struct meta_func { typedef unique result_type; template unique operator()(const T&) const; }; int main() { vector v; typedef predicate lambda_t; typedef boost::mpl::quote1 quote_t; vector l = transform(v, meta_func()); vector q = transform(v, meta_func()); boost::ignore_unused(l, q); }