tmp: Removed temporary global functions
This commit is contained in:
parent
2f9e72b53f
commit
eebac17c1e
2 changed files with 0 additions and 32 deletions
|
|
@ -384,20 +384,4 @@ inline void Foam::tmp<T>::operator=(const tmp<T>& t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//- Return the const reference of the non-const reference argument
|
|
||||||
template<class T>
|
|
||||||
inline const T& Const(T& t)
|
|
||||||
{
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//- Return the const reference of the non-const rvalue reference argument
|
|
||||||
template<class T>
|
|
||||||
inline const T& Const(T&& t)
|
|
||||||
{
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
|
||||||
|
|
@ -301,20 +301,4 @@ inline void Foam::tmpNrc<T>::operator=(const tmpNrc<T>& t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//- Return the const reference of the non-const reference argument
|
|
||||||
template<class T>
|
|
||||||
inline const T& Const(T& t)
|
|
||||||
{
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//- Return the const reference of the non-const rvalue reference argument
|
|
||||||
template<class T>
|
|
||||||
inline const T& Const(T&& t)
|
|
||||||
{
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue