18 static constexpr int size = 1;
27 [[nodiscard]]
static constexpr auto&&
getElem(
int i, U&& value ) { (void)i;
return value; }
35 static constexpr int size = 2;
41 [[nodiscard]]
static auto&&
getElem(
int i, U&& value )
45 return ( &value.x )[i];
52 static constexpr int size = 3;
58 [[nodiscard]]
static auto&&
getElem(
int i, U&& value )
62 return ( &value.x )[i];
69 static constexpr int size = 4;
75 [[nodiscard]]
static auto&&
getElem(
int i, U&& value )
79 return ( &value.x )[i];
Definition MRCameraOrientationPlugin.h:7
Definition MRVector2.h:18
Definition MRMesh/MRVector3.h:19
Definition MRVector4.h:13
static auto && getElem(int i, U &&value)
Definition MRMesh/MRVectorTraits.h:41
T BaseType
Definition MRMesh/MRVectorTraits.h:34
T BaseType
Definition MRMesh/MRVectorTraits.h:51
static auto && getElem(int i, U &&value)
Definition MRMesh/MRVectorTraits.h:58
T BaseType
Definition MRMesh/MRVectorTraits.h:68
static auto && getElem(int i, U &&value)
Definition MRMesh/MRVectorTraits.h:75
Definition MRMesh/MRVectorTraits.h:14
U ChangeBaseType
Definition MRMesh/MRVectorTraits.h:22
static constexpr int size
Definition MRMesh/MRVectorTraits.h:18
static constexpr auto && getElem(int i, U &&value)
Definition MRMesh/MRVectorTraits.h:27
T BaseType
Definition MRMesh/MRVectorTraits.h:17