#ifndef GUARD_RTGLIB_ARGUMENT_HPP #define GUARD_RTGLIB_ARGUMENT_HPP #include #include #include namespace rtg { struct argument : raw_data { argument() {} argument(shape s, std::function d) : data(d), shape_(s) {} std::function data; bool empty() const { return not data; } const shape& get_shape() const { return this->shape_; } private: shape shape_; }; } // namespace rtg #endif