]> https://gitweb.dealii.org/ - dealii.git/commit
Suns Forte compiler chokes on template argument computations, like in
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Mar 2002 12:39:42 +0000 (12:39 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Mar 2002 12:39:42 +0000 (12:39 +0000)
commitc7a6b334eed1f627320bb7494f94bae2b2f9cc1e
tree8fc68d1690a245f868df3815c3723590b8a6f10b
parent4eee593ba405276217aa9953ffebfea9075e460a
Suns Forte compiler chokes on template argument computations, like in
/* ----------------------------------------------- */
/* Problem 5 -- no computations with template args */
template <int dim> struct T2 {};
template <int dim> T2<dim-1> g(T2<dim>) {};

Fix this by introducing a new type local to the class that uses it.

git-svn-id: https://svn.dealii.org/trunk@5594 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/base/include/base/quadrature.h
deal.II/base/include/base/tensor_function.h
deal.II/base/source/quadrature.cc
deal.II/base/source/tensor_function.cc
deal.II/doc/news/2002/c-3-3.html

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.