Nick Sabalausky wrote:
Is there an idiom, preferably D1, to detect whether or not the code is
currently executing as a ctfe?
Ie:
void foo()
{
(static?) if( )
{
// Run-time code here
// that does stuff the CTFE engine chokes on
}
else
{
// CTFE c
Nick Sabalausky wrote:
Is there an idiom, preferably D1, to detect whether or not the code is
currently executing as a ctfe?
Ie:
void foo()
{
(static?) if( )
{
// Run-time code here
// that does stuff the CTFE engine chokes on
}
else
{
// CTFE c
Is there an idiom, preferably D1, to detect whether or not the code is
currently executing as a ctfe?
Ie:
void foo()
{
(static?) if( )
{
// Run-time code here
// that does stuff the CTFE engine chokes on
}
else
{
// CTFE code here
// that