clipsmm - C++ CLIPS Interface Library

clipsmm logo
pointer.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2006,2009 by Rick L. Vinyard, Jr. *
3 * rvinyard@cs.nmsu.edu *
4 * *
5 * This file is part of the clipsmm library. *
6 * *
7 * The clipsmm library is free software; you can redistribute it and/or *
8 * modify it under the terms of the GNU General Public License *
9 * version 3 as published by the Free Software Foundation. *
10 * *
11 * The clipsmm library is distributed in the hope that it will be *
12 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this software. If not see <http://www.gnu.org/licenses/>. *
18 ***************************************************************************/
20
21#ifndef CLIPSPOINTER
22#define CLIPSPOINTER
23#if __cplusplus <= 199711L
24 #error clipsmm requires at least a C++11 compliant compiler
25#endif
26
27#include <memory>
28#define CLIPSPointer std::shared_ptr
29#define CLIPSWeakPointer std::weak_ptr
30#define clips_static_pointer_cast std::static_pointer_cast
31#define clips_const_pointer_cast std::const_pointer_cast
32#define clips_dynamic_pointer_cast std::dynamic_pointer_cast
33
34#endif

Generated on Fri Jan 19 2024 00:00:00 for clipsmm by doxygen 1.10.0