/*============================================================================= Copyright (c) 2011-2014 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) =============================================================================*/ #ifndef SPROUT_WEED_EXPR_EXPR_HPP #define SPROUT_WEED_EXPR_EXPR_HPP #include #include #include #include #include #include namespace sprout { namespace weed { // // expr // template class expr { public: typedef Tag expr_tag; typedef sprout::tuples::tuple args_type; private: args_type args_; public: template explicit SPROUT_CONSTEXPR expr(As&&... args) : args_(SPROUT_FORWARD(As, args)...) {} SPROUT_CONSTEXPR args_type const& args() const { return args_; } }; } // namespace weed } // namespace sprout #endif // #ifndef SPROUT_WEED_EXPR_EXPR_HPP