1
#ifndef _RHEOLEF_POLYMORPHIC_TRAITS_H
2
#define _RHEOLEF_POLYMORPHIC_TRAITS_H
4
/// This file is part of Rheolef.
6
/// Copyright (C) 2000-2009 Pierre Saramito <Pierre.Saramito@imag.fr>
8
/// Rheolef is free software; you can redistribute it and/or modify
9
/// it under the terms of the GNU General Public License as published by
10
/// the Free Software Foundation; either version 2 of the License, or
11
/// (at your option) any later version.
13
/// Rheolef is distributed in the hope that it will be useful,
14
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
/// GNU General Public License for more details.
18
/// You should have received a copy of the GNU General Public License
19
/// along with Rheolef; if not, write to the Free Software
20
/// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
/// =========================================================================
24
# include "rheolef/compiler.h"
26
#include <boost/mpl/vector.hpp>
27
#include <boost/mpl/size.hpp>
30
namespace mpl = boost::mpl;
32
/// @brief helper for long typedef list
34
struct polymorphic_traits {
35
typedef mpl::vector0<> derived_type;
36
static const size_t n_derived = 0;
39
} // namespace rheolef
40
#endif // _RHEOLEF_POLYMORPHIC_TRAITS_H