Sacado Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
Sacado_Base.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Sacado Package
4
//
5
// Copyright 2006 NTESS and the Sacado contributors.
6
// SPDX-License-Identifier: LGPL-2.1-or-later
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef SACADO_BASE_HPP
11
#define SACADO_BASE_HPP
12
13
namespace
Sacado {
14
16
25
template
<
typename
T>
26
struct
Base
{
27
typedef
T
derived_type
;
28
const
derived_type
&
derived
()
const
{
29
return
static_cast<
const
derived_type
&
>
(*this);
30
}
31
};
32
33
}
34
35
#endif // SACADO_BASE_HPP
Sacado::Base::derived_type
T derived_type
Definition:
Sacado_Base.hpp:27
Sacado::Base
Base class for Sacado types to control overload resolution.
Definition:
Sacado_Base.hpp:26
T
#define T
Definition:
Sacado_rad.hpp:553
Sacado::Base::derived
const derived_type & derived() const
Definition:
Sacado_Base.hpp:28
Generated on Fri Dec 20 2024 09:23:40 for Sacado Package Browser (Single Doxygen Collection) by
1.8.5