Lagrange
|
MeshTrait class provide compiler check for different mesh types. More...
#include <lagrange/MeshTrait.h>
Public Types | |
using | MeshType = typename std::remove_reference< typename std::remove_cv< MeshType_ >::type >::type |
Static Public Member Functions | |
static constexpr bool | is_mesh () |
static constexpr bool | is_mesh_smart_ptr () |
static constexpr bool | is_mesh_raw_ptr () |
static constexpr bool | is_mesh_ptr () |
MeshTrait class provide compiler check for different mesh types.
Usage: static_assert(MeshTrait<MeshType>::is_mesh(), "MeshType is not mesh");