]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Suns Forte compiler chokes on template argument computations, like in
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2002 12:39:42 +0000 (12:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2002 12:39:42 +0000 (12:39 +0000)
commite896e5c3bddbf723d4d3e640a508ae4daaa31839
tree6d4f33be9dd9ad619f25992dadde4446e0c13ba9
parent9f8647ba52e121f563023fbc3a5f310bc41fe169
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.