panthema / 2012 / 1119-eSAIS-Inducing-Suffix-and-LCP-Arrays-in-External-Memory / eSAIS-DC3-LCP-0.5.0 / stxxl / include / stxxl / bits / common / settings.h (Download File)
/***************************************************************************
 *  include/stxxl/bits/common/settings.h
 *
 *  Part of the STXXL. See http://stxxl.sourceforge.net
 *
 *  Copyright (C) 2007 Johannes Singler <singler@ira.uka.de>
 *
 *  Distributed under the Boost Software License, Version 1.0.
 *  (See accompanying file LICENSE_1_0.txt or copy at
 *  http://www.boost.org/LICENSE_1_0.txt)
 **************************************************************************/

/**
 * @file settings.h
 * @brief Provides a static class to store runtime tuning parameters.
 */

#ifndef STXXL_SETTINGS_HEADER
#define STXXL_SETTINGS_HEADER

#include <stxxl/bits/namespace.h>


__STXXL_BEGIN_NAMESPACE

template <typename must_be_int = int>
class settings
{
public:
    static bool native_merge;
};

template <typename must_be_int>
bool settings<must_be_int>::native_merge = true;

typedef settings<> SETTINGS;

__STXXL_END_NAMESPACE

#endif // !STXXL_SETTINGS_HEADER