00001 // +-------------------------------------------------------------------------+ 00002 // | I__n__t__e__L__i__b 0.6.10 development | 00003 // | Copyright (c) Andrey Vikt. Stolyarov <crocodil_AT_croco.net> 2000-2007. | 00004 // | | 00005 // | This is free software. The library part is available under | 00006 // | GNU LESSER GENERAL PUBLIC LICENSE v.2.1. | 00007 // | GNU LGPL v2.1 is found in docs/gnu_gpl2.txt, or at http://www.gnu.org | 00008 // | Please see also docs/readme.txt and visit http://www.intelib.org | 00009 // | | 00010 // | !!! THERE IS NO WARRANTY OF ANY KIND, NEITHER EXPRESSED NOR IMPLIED !!! | 00011 // +-------------------------------------------------------------------------+ 00012 00013 00014 00015 00023 #ifndef INTELIB_LEXTVAR_HPP_SENTRY 00024 #define INTELIB_LEXTVAR_HPP_SENTRY 00025 00026 #include "../genlisp/extvar.hpp" 00027 00028 class LFunctionConstructor; 00029 00031 00041 template <class Tt> 00042 SReference operator&(const LFunctionConstructor&, Tt &var) 00043 { 00044 return SReference( 00045 new SExpressionIndirectAccessor, 00046 new SExpressionIndirectTemplate<Tt>(var)); 00047 } 00048 00049 #endif