On Sunday, 2 February 2014 at 01:19:22 UTC, Matthew Dudley wrote:
This is the general outline of what I'm trying to do:



import std.typecons; //wrap

import std.stdio;


interface FooBar
{
public:
        void foo();
        void bar();

        final void both() // NVI
                {
                        foo();
                        bar();
                }
}

It seems that wrap is expecting your type to implement both(). I think this should be considered a bug and placed in bugzilla.

On another note:

    import std.typecons: wrap;

Reply via email to