Icc compiler: template statics initialisation

This commit is contained in:
Hrvoje Jasak 2013-09-17 16:05:04 +01:00
parent eb3e43d1af
commit 5a18de14fb
6 changed files with 8 additions and 8 deletions

View file

@ -30,8 +30,7 @@ License
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
template<class T, unsigned Size> template<class T, unsigned Size>
const Foam::FixedList<T, Size> Foam::FixedList<T, Size>::zero = const Foam::FixedList<T, Size> Foam::FixedList<T, Size>::zero;
Foam::FixedList<T, Size>();
// * * * * * * * * * * * * * * STL Member Functions * * * * * * * * * * * * // // * * * * * * * * * * * * * * STL Member Functions * * * * * * * * * * * * //

View file

@ -38,7 +38,7 @@ License
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
template<class Type> template<class Type>
const Foam::List<Type> Foam::List<Type>::zero = Foam::List<Type>(); const Foam::List<Type> Foam::List<Type>::zero;
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //

View file

@ -31,7 +31,7 @@ License
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
template<class T> template<class T>
const Foam::UList<T> Foam::UList<T>::zero = UList<T>(); const Foam::UList<T> Foam::UList<T>::zero;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View file

@ -40,7 +40,8 @@ template<class Type>
const char* const Field<Type>::typeName("Field"); const char* const Field<Type>::typeName("Field");
template<class Type> template<class Type>
const Field<Type> Field<Type>::zero = Field<Type>(); const Field<Type> Field<Type>::zero;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View file

@ -29,8 +29,8 @@ License
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
template<class Form, class Type> template<class Form, class Type>
const Foam::Matrix<Form, Type> Foam::Matrix<Form, Type>::zero = const Foam::Matrix<Form, Type> Foam::Matrix<Form, Type>::zero;
Foam::Matrix<Form, Type>();
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * // // * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //

View file

@ -27,7 +27,7 @@ License
// * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Static Members * * * * * * * * * * * * * * //
template<class T> 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 * * * * * * * * * * * * * // // * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * * //