for return value -> None
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
43f5e560fa
commit
0f0a01793c
1 changed files with 8 additions and 2 deletions
|
@ -31,6 +31,7 @@ namespace CNORXZ
|
||||||
const auto pos = last + mExt( UPos(i) );
|
const auto pos = last + mExt( UPos(i) );
|
||||||
mXpr(pos);
|
mXpr(pos);
|
||||||
}
|
}
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename
|
typedef typename
|
||||||
|
@ -52,6 +53,7 @@ namespace CNORXZ
|
||||||
const auto pos = mExt( UPos(i) );
|
const auto pos = mExt( UPos(i) );
|
||||||
mXpr(pos);
|
mXpr(pos);
|
||||||
}
|
}
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename std::remove_reference<decltype(mXpr(mExt( UPos(0) )))>::type OutT;
|
typedef typename std::remove_reference<decltype(mXpr(mExt( UPos(0) )))>::type OutT;
|
||||||
|
@ -105,7 +107,7 @@ namespace CNORXZ
|
||||||
{
|
{
|
||||||
if constexpr(std::is_same<F,NoF>::value){
|
if constexpr(std::is_same<F,NoF>::value){
|
||||||
exec2<0>(last);
|
exec2<0>(last);
|
||||||
return;
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return exec<0>(last);
|
return exec<0>(last);
|
||||||
|
@ -117,7 +119,7 @@ namespace CNORXZ
|
||||||
{
|
{
|
||||||
if constexpr(std::is_same<F,NoF>::value){
|
if constexpr(std::is_same<F,NoF>::value){
|
||||||
exec2<0>();
|
exec2<0>();
|
||||||
return;
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return exec<0>();
|
return exec<0>();
|
||||||
|
@ -234,6 +236,7 @@ namespace CNORXZ
|
||||||
const auto pos2 = pos1 + mExt2( mPart( UPos(i) ) );
|
const auto pos2 = pos1 + mExt2( mPart( UPos(i) ) );
|
||||||
mXpr(pos2);
|
mXpr(pos2);
|
||||||
}
|
}
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename
|
typedef typename
|
||||||
|
@ -257,6 +260,7 @@ namespace CNORXZ
|
||||||
const auto pos2 = pos1 + mExt2( mPart( UPos(i) ) );
|
const auto pos2 = pos1 + mExt2( mPart( UPos(i) ) );
|
||||||
mXpr(pos2);
|
mXpr(pos2);
|
||||||
}
|
}
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename std::remove_reference<decltype(mXpr(mExt1( UPos(0) ) + mExt2( mPart( UPos(0) ) )))>::type OutT;
|
typedef typename std::remove_reference<decltype(mXpr(mExt1( UPos(0) ) + mExt2( mPart( UPos(0) ) )))>::type OutT;
|
||||||
|
@ -404,6 +408,7 @@ namespace CNORXZ
|
||||||
if constexpr(std::is_same<typename std::remove_reference<F>::type,NoF>::value){
|
if constexpr(std::is_same<typename std::remove_reference<F>::type,NoF>::value){
|
||||||
const auto pos = mkEPos<N>(last, mExt);
|
const auto pos = mkEPos<N>(last, mExt);
|
||||||
mXpr(pos);
|
mXpr(pos);
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename
|
typedef typename
|
||||||
|
@ -421,6 +426,7 @@ namespace CNORXZ
|
||||||
if constexpr(std::is_same<typename std::remove_reference<F>::type,NoF>::value){
|
if constexpr(std::is_same<typename std::remove_reference<F>::type,NoF>::value){
|
||||||
const auto pos = mkEPos<N>(SPos<0>(), mExt);
|
const auto pos = mkEPos<N>(SPos<0>(), mExt);
|
||||||
mXpr(pos);
|
mXpr(pos);
|
||||||
|
return None {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
typedef typename
|
typedef typename
|
||||||
|
|
Loading…
Reference in a new issue