Re: [glas] proposals
From: Pieter Collins (Pieter.Collins_at_[hidden])
Date: 2007-02-05 06:09:08
Karl Meerbergen wrote:
> For the C++ compiler, this is more tricky: I see two possibilities:
> A) Use meta programming to examine an expression.
> B) Use Bartan-Nackman trick
> All GLAS types inherit from a concept type that can be used in
I think it's very important to allow the use of user scalar types which
do not inherit from glas concept types, so I much prefer A) over B).
A possible alternative might be to use B) but to "assume" types which do
not inherit from a glas type are scalars.