www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - What is the term for a function that can be CTFEed?

reply BCS <none anon.com> writes:
We have pure functions, member functions, static functions and global
functions; 
but what kind of function can always be used with CTFE?

-- 
... <IXOYE><
Aug 09 2010
next sibling parent BCS <none anon.com> writes:
Hello BCS,

 We have pure functions, member functions, static functions and global
 functions; but what kind of function can always be used with CTFE?
 
Compile Time Evaluable Function = CTEF? (sounds like CDEF; so testing many minor variant of one you get AB CTEF testing :b ) Or not. -- ... <IXOYE><
Aug 09 2010
prev sibling parent reply Jonathan M Davis <jmdavisprog gmail.com> writes:
On Monday 09 August 2010 21:18:42 BCS wrote:
 We have pure functions, member functions, static functions and global
 functions; but what kind of function can always be used with CTFE?
Haven't we typical called them CTFE or CTFEable functions? - Jonathan M Davis
Aug 09 2010
parent reply BCS <none anon.com> writes:
Hello Jonathan,

 On Monday 09 August 2010 21:18:42 BCS wrote:
 
 We have pure functions, member functions, static functions and global
 functions; but what kind of function can always be used with CTFE?
 
Haven't we typical called them CTFE or CTFEable functions?
I've seen the first used, even used it my self (but it isn't even the correct part of speech) and the second is kind of hard to say. -- ... <IXOYE><
Aug 10 2010
parent div0 <div0 sourceforge.net> writes:
On 10/08/2010 13:59, BCS wrote:
 Hello Jonathan,

 On Monday 09 August 2010 21:18:42 BCS wrote:

 We have pure functions, member functions, static functions and global
 functions; but what kind of function can always be used with CTFE?
Haven't we typical called them CTFE or CTFEable functions?
I've seen the first used, even used it my self (but it isn't even the correct part of speech) and the second is kind of hard to say.
I call them F-able functions. Where F stands for Fantasic or F*ck depending on how complicated they are. -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk
Aug 10 2010