Stxxl  1.4.0
include/stxxl/bits/common/settings.h
Go to the documentation of this file.
00001 /***************************************************************************
00002  *  include/stxxl/bits/common/settings.h
00003  *
00004  *  Part of the STXXL. See http://stxxl.sourceforge.net
00005  *
00006  *  Copyright (C) 2007 Johannes Singler <singler@ira.uka.de>
00007  *
00008  *  Distributed under the Boost Software License, Version 1.0.
00009  *  (See accompanying file LICENSE_1_0.txt or copy at
00010  *  http://www.boost.org/LICENSE_1_0.txt)
00011  **************************************************************************/
00012 
00013 /**
00014  * @file settings.h
00015  * @brief Provides a static class to store runtime tuning parameters.
00016  */
00017 
00018 #ifndef STXXL_SETTINGS_HEADER
00019 #define STXXL_SETTINGS_HEADER
00020 
00021 #include <stxxl/bits/namespace.h>
00022 
00023 
00024 __STXXL_BEGIN_NAMESPACE
00025 
00026 template <typename must_be_int = int>
00027 class settings
00028 {
00029 public:
00030     static bool native_merge;
00031 };
00032 
00033 template <typename must_be_int>
00034 bool settings<must_be_int>::native_merge = true;
00035 
00036 typedef settings<> SETTINGS;
00037 
00038 __STXXL_END_NAMESPACE
00039 
00040 #endif // !STXXL_SETTINGS_HEADER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines