Reimplementing the bulk of std.meta iteratively
    H. S. Teoh 
    hsteoh at quickfur.ath.cx
       
    Mon Sep 28 21:40:59 UTC 2020
    
    
  
On Mon, Sep 28, 2020 at 11:27:56PM +0200, Timon Gehr via Digitalmars-d wrote:
> On 28.09.20 23:08, claptrap wrote:
> > Instead of first class types
> 
> (Stefan's type functions do not give you first-class types. A
> first-class type you could put in a runtime variable.)
(typeid(T) is a first-class type (of sorts), which we already have
today.  All we really need today is a way to retrieve T from typeid(T)
at compile-time.)
T
-- 
By understanding a machine-oriented language, the programmer will tend to use a much more efficient method; it is much closer to reality. -- D. Knuth
    
    
More information about the Digitalmars-d
mailing list