Icc compiler: template statics initialisation
This commit is contained in:
parent
eb3e43d1af
commit
5a18de14fb
6 changed files with 8 additions and 8 deletions
|
@ -30,8 +30,7 @@ License
|
|||
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
|
||||
|
||||
template<class T, unsigned Size>
|
||||
const Foam::FixedList<T, Size> Foam::FixedList<T, Size>::zero =
|
||||
Foam::FixedList<T, Size>();
|
||||
const Foam::FixedList<T, Size> Foam::FixedList<T, Size>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * STL Member Functions * * * * * * * * * * * * //
|
||||
|
|
|
@ -38,7 +38,7 @@ License
|
|||
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
const Foam::List<Type> Foam::List<Type>::zero = Foam::List<Type>();
|
||||
const Foam::List<Type> Foam::List<Type>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
||||
|
|
|
@ -31,7 +31,7 @@ License
|
|||
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
|
||||
|
||||
template<class T>
|
||||
const Foam::UList<T> Foam::UList<T>::zero = UList<T>();
|
||||
const Foam::UList<T> Foam::UList<T>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
|
|
@ -40,7 +40,8 @@ template<class Type>
|
|||
const char* const Field<Type>::typeName("Field");
|
||||
|
||||
template<class Type>
|
||||
const Field<Type> Field<Type>::zero = Field<Type>();
|
||||
const Field<Type> Field<Type>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ License
|
|||
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
|
||||
|
||||
template<class Form, class Type>
|
||||
const Foam::Matrix<Form, Type> Foam::Matrix<Form, Type>::zero =
|
||||
Foam::Matrix<Form, Type>();
|
||||
const Foam::Matrix<Form, Type> Foam::Matrix<Form, Type>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ License
|
|||
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
|
||||
|
||||
template<class T>
|
||||
const Foam::Xfer<T> Foam::Xfer<T>::zero = Foam::Xfer<T>();
|
||||
const Foam::Xfer<T> Foam::Xfer<T>::zero;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * * //
|
||||
|
|
Reference in a new issue