1 #ifndef META_HS_AST_HPP 2 #define META_HS_AST_HPP 3 4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2012. 5 // Distributed under the Boost Software License, Version 1.0. 6 // (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 9 namespace ast 10 { 11 template <class V> 12 struct value 13 { 14 typedef value type; 15 }; 16 17 template <class Name> 18 struct ref 19 { 20 typedef ref type; 21 }; 22 23 template <class F, class Arg> 24 struct application 25 { 26 typedef application type; 27 }; 28 29 template <class F, class ArgName> 30 struct lambda 31 { 32 typedef lambda type; 33 }; 34 35 template <class E> 36 struct top_bound 37 { 38 typedef top_bound type; 39 }; 40 } 41 42 #endif 43 44