]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Detect and work around the following bug:
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 14:04:29 +0000 (14:04 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 14:04:29 +0000 (14:04 +0000)
commit367abf6f7cadd1f80bc47c92b4b980233ab5d501
tree476ddedf8dd704c8a20fe736d52f4a3b5cb6bbee
parent348c97c643340ffd0a4efdb19537b4fb5a21b443
Detect and work around the following bug:
dnl /* ----------------------------------------------- */
dnl /* Problem 14: Access control. Friendship is not   */
dnl /* granted although explicitly declared.           */
dnl template <int N, int M> class T      {    void bar ();  };
dnl
dnl template <int M>        class T<1,M> {
dnl   private:
dnl     static int i;
dnl     template <int N1, int N2> friend class T;
dnl };
dnl
dnl template <int N,int M> void T<N,M>::bar () {
dnl   T<N-1,M>::i;
dnl };
dnl
dnl template class T<2,1> ;

We work around by making a certain function in the Tensor<1,dim> class public.

git-svn-id: https://svn.dealii.org/trunk@5612 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/aclocal.m4
deal.II/base/include/base/config.h.in
deal.II/base/include/base/tensor_base.h
deal.II/base/include/base/tensor_function.h
deal.II/configure
deal.II/configure.in

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.