Re: [sv-ec] Mantis 1857 - extern method types for parameterized classes

From: Geoffrey.Coram <Geoffrey.Coram_at_.....>
Date: Wed Jun 20 2007 - 09:02:51 PDT
If someone tried to use form 3) but changed the default
specialization:
  function #(type T = double) T C::get();

is this an error?  (type T = int in the class definition).

-Geoffrey



Neil Korpusik wrote:
> 
> Thanks to Gord and Mike for working on these alternatives.
> 
> Below are my preferences (the first one being the most desirable).
> I actually prefer 4) or 3) a lot more than either 1) or 2). I
> would even be willing to allow both 4) or 3) as being equivalent
> alternatives. Users could choose the form (4 or 3)that most suites
> their taste.
> 
> 4) function #(type T) T C::get();
> 3) function #(type T = int) T C::get();
> 1) C::function T get();
> 2) function::C T get();
> 
> Neil

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jun 20 09:03:11 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 20 2007 - 09:03:22 PDT