From: Ulf L. <ul...@wa...> - 2013-01-20 12:49:49
|
On Sun, 20 Jan 2013 01:03:16 +0100 Ulf Lorenz <ul...@wa...> wrote: > or they are based on template programming (vastly increasing the > compilation time, requiring us to write everything using template > metaprogramming as well, and being a pain to test). Just for completeness, I noticed after the email that this was not exactly correct. If you have a Tensor<dimension> class, you could always instantiate Tensor<1>, Tensor<2>, ... in a library, and offer a common interface to all these types. Nevertheless, this interface we would still have to write. Ulf |