Lagrange
MeshTrait< MeshType_ > Struct Template Reference

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 ()
 

Detailed Description

template<typename MeshType_>
struct lagrange::MeshTrait< MeshType_ >

MeshTrait class provide compiler check for different mesh types.

Usage: static_assert(MeshTrait<MeshType>::is_mesh(), "MeshType is not mesh");


The documentation for this struct was generated from the following file: