dune-functions  2.8.0
optional.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_FUNCTIONS_COMMON_OPTIONAL_HH
4 #define DUNE_FUNCTIONS_COMMON_OPTIONAL_HH
5 
6 #warning dune/functions/common/optional.hh is deprecated and will be removed after Dune 2.8.\
7  Include <optional> instead
8 
9 #include <optional>
10 
11 namespace Dune {
12 namespace Functions {
13  template< class T >
14  using Optional = std::optional< T >;
15 }} // namespace Dune::Functions
16 
17 #endif // DUNE_FUNCTIONS_COMMON_OPTIONAL_HH
Definition: polynomial.hh:10
std::optional< T > Optional
Definition: optional.hh:14