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
mpl
Sacado_mpl_has_equal_to.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_MPL_HAS_EQUAL_TO_HPP
11
#define SACADO_MPL_HAS_EQUAL_TO_HPP
12
13
#include <type_traits>
14
15
namespace
Sacado {
16
17
namespace
mpl {
18
19
template
<
typename
T1,
typename
T2 = T1,
typename
= std::
void
_t<> >
20
struct
has_equal_to
: std::false_type {};
21
22
template
<
typename
T1,
typename
T2>
23
struct
has_equal_to
<
T1
,
T2
, std::void_t<decltype(std::declval<T1>() ==
24
std::declval<T2>())> >
25
: std::true_type {};
26
27
}
28
29
}
30
31
#endif // SACADO_MPL_HAS_EQUAL_TO_HPP
Sacado::mpl::has_equal_to
Definition:
Sacado_mpl_has_equal_to.hpp:20
T2
#define T2(r, f)
Definition:
Sacado_rad.hpp:558
T1
#define T1(r, f)
Definition:
Sacado_rad.hpp:583
Generated on Tue Nov 12 2024 09:21:52 for Sacado Package Browser (Single Doxygen Collection) by
1.8.5