How to check if string is available at compile time
    B4s1L3 
    b2.temp at gmx.com
       
    Fri Sep 22 07:47:17 UTC 2017
    
    
  
On Thursday, 21 September 2017 at 11:42:36 UTC, David Bennett 
wrote:
> Hi Guys,
>
> Is there an easy way to check if the value of string passed to 
> a template is available at compile time?
>
Yeah , sure and I have such a template in my library: 
https://github.com/BBasile/iz/blob/master/import/iz/types.d#L627
see just above too, the template "isCompileTimeValue"
    
    
More information about the Digitalmars-d-learn
mailing list