dlvhex
2.5.0
|
00001 #ifndef BMFWD__H__INCLUDED__ 00002 #define BMFWD__H__INCLUDED__ 00003 /* 00004 Copyright(c) 2002-2005 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com) 00005 00006 Permission is hereby granted, free of charge, to any person 00007 obtaining a copy of this software and associated documentation 00008 files (the "Software"), to deal in the Software without restriction, 00009 including without limitation the rights to use, copy, modify, merge, 00010 publish, distribute, sublicense, and/or sell copies of the Software, 00011 and to permit persons to whom the Software is furnished to do so, 00012 subject to the following conditions: 00013 00014 The above copyright notice and this permission notice shall be included 00015 in all copies or substantial portions of the Software. 00016 00017 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00018 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 00019 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00020 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 00021 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 00022 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00023 OTHER DEALINGS IN THE SOFTWARE. 00024 00025 For more information please visit: http://bmagic.sourceforge.net 00026 00027 */ 00028 00029 #include "bmconst.h" 00030 00031 namespace bm 00032 { 00033 00034 class block_allocator; 00035 class ptr_allocator; 00036 00037 template<class BA = block_allocator, class PA = ptr_allocator> class mem_alloc; 00038 00039 template <class A, size_t N> class miniset; 00040 template<size_t N> class bvmini; 00041 00042 typedef bm::bvmini<bm::set_total_blocks> standard_miniset; 00043 typedef mem_alloc<block_allocator, ptr_allocator> standard_allocator; 00044 00045 template<class A = bm::standard_allocator> class bvector; 00046 00047 00048 } // namespace 00049 00050 #endif