dune-fem  2.8-git
compatibility.hh
Go to the documentation of this file.
1 #ifndef DUNE_FEM_MISC_COMPATIBILITY_HH
2 #define DUNE_FEM_MISC_COMPATIBILITY_HH
3 
4 #include <utility>
5 
6 #include <dune/grid/common/entity.hh>
7 #include <dune/fem/version.hh>
8 
9 namespace Dune
10 {
11 
12  namespace Fem
13  {
14 
15  // make_entity
16  // -----------
17 
18  template< int codim, int dim, class Grid, template< int, int, class > class Implementation >
19  DUNE_VERSION_DEPRECATED_3_0("make_entity")
20  typename Dune::Entity< codim, dim, Grid, Implementation >
21  make_entity ( Dune::Entity< codim, dim, Grid, Implementation > entity )
22  {
23  return std::move( entity );
24  }
25 
26  } // namespace Fem
27 
28 } // end namespace Dune
29 
30 #endif // #ifndef DUNE_FEM_MISC_COMPATIBILITY_HH
#define DUNE_VERSION_DEPRECATED_3_0(m)
Definition: version.hh:5
Definition: bindguard.hh:11
Dune::Entity< codim, dim, Grid, Implementation > make_entity(Dune::Entity< codim, dim, Grid, Implementation > entity)
Definition: compatibility.hh:21