Re: [linux-audio-dev] templates - little bit OT

From: Lars Luthman <larsl@email-addr-hidden>
Date: Thu Jan 19 2006 - 01:51:35 EET

On Thu, 2006-01-19 at 00:41 +0100, conrad berhörster wrote:
> class MyClass
> {
> MyClass();
> MyClass(n,n);
> private:
> matrix<n,n>
> };
>
> this means, at runtime, i want to set the size of the matrix. is this
> possible? this are divers concepts (templates and runtime) , aren't they?

It is not possible. Templates are instantiated at compile time.

-- 
Lars Luthman
PGP key:     http://www.student.nada.kth.se/~d00-llu/pgp_key.php
Fingerprint: FCA7 C790 19B9 322D EB7A  E1B3 4371 4650 04C7 7E2E

Received on Thu Jan 19 04:15:10 2006

This archive was generated by hypermail 2.1.8 : Thu Jan 19 2006 - 04:15:10 EET