I'm trying to write a parametrized class with a type parameter whose
existence depends on whether std.utf.decode() exists for that type.
What's the syntax to do this?

        class C(T)
                if ( /* ??? exists(decode(T)...?) */ )
        { ... }

Thanks!


T

-- 
It is not the employer who pays the wages. Employers only handle the
money. It is the customer who pays the wages. -- Henry Ford

Reply via email to