On 5/15/20 7:37 AM, wjoe wrote:
On Friday, 15 May 2020 at 13:52:38 UTC, Paul Backus wrote:
On Friday, 15 May 2020 at 13:47:43 UTC, wjoe wrote:
struct Foo(A, B, C, size_t a, size_t b)
{
  alias foo_t = Foo!(A, B, C, a, b); // is there a better way to get foo_t ?
}

typeof(this)

Thanks :)

Additionally, the name of a template when used inside that template means that instance of it. So just say Foo. :)

struct Foo(A, B, C, size_t a, size_t b)
{
  Foo * p;
}

Ali

Reply via email to