Index: olena/ChangeLog
from Nicolas Burrus <burrus_n(a)lrde.epita.fr>
* oln/core/abstract/image_with_type_with_dim.hh
(image_with_type_with_dim_swith): Select data_type_image_with_dim
by default, not data_type_image.
* tests/core/tests/without_ntg:
New test.
Index: olena/oln/core/abstract/image_with_type_with_dim.hh
--- olena/oln/core/abstract/image_with_type_with_dim.hh Thu, 07 Aug 2003 02:37:23 +0200
burrus_n (oln/v/11_image_with 1.3 600)
+++ olena/oln/core/abstract/image_with_type_with_dim.hh Sun, 02 Nov 2003 17:27:23 +0100
burrus_n (oln/v/11_image_with 1.4 600)
@@ -182,7 +182,7 @@
non_vectorial_image_with_dim<Dim, Exact>,
mlc::bool_case_<true,
- data_type_image<Exact> >
+ data_type_image_with_dim<Dim, Exact> >
> > > > >::ret ret;
};
Index: olena/tests/core/tests/without_ntg
--- olena/tests/core/tests/without_ntg Sun, 02 Nov 2003 17:27:37 +0100 burrus_n ()
+++ olena/tests/core/tests/without_ntg Sun, 02 Nov 2003 17:27:23 +0100 burrus_n
(oln/v/31_without_nt 1.1 600)
@@ -0,0 +1,16 @@
+// -*- c++ -*-
+
+#include <oln/basics2d.hh>
+#include <iostream>
+
+class foo
+{};
+
+int main()
+{
+ oln::image2d< foo > i(60, 60);
+
+ std::cout << i.hold(0, 0) << std::endl;
+
+ return 0;
+}