Polymorphic.create

This factory function makes it possible to forward arguments to the T's constructor instead of taking one by value and to pass in modules to look for UFCS functions for the instance.

  1. create(A args)
    template create(T, Modules...)
    static
    create
    (
    A...
    )
    (
    auto ref A args
    )
  2. template create(Modules...)

Members

Static functions

create
create(A args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta