Loading...
Searching...
No Matches
number.hh
Go to the documentation of this file.
// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_COMMON_CONCEPTS_NUMBER_HH
#define DUNE_COMMON_CONCEPTS_NUMBER_HH
#include <dune/common/typetraits.hh>
namespace Dune::Concept {
template <class N>
concept Number = Dune::IsNumber<N>::value;
} // end namespace Dune::Concept
#endif // DUNE_COMMON_CONCEPTS_NUMBER_HH
typetraits.hh
Traits for type conversions and type information.
Dune::Concept
Namespace for concepts.
Definition concept.hh:33
Dune::IsNumber
Whether this type acts as a scalar in the context of (hierarchically blocked) containers.
Definition typetraits.hh:194
Dune::Concept::Number
The Number concept is satisfied if the type N can act as a scalar in the context of (hierarchically b...
Definition number.hh:34