On Monday, 20 August 2018 at 17:52:17 UTC, QueenSvetlana wrote:
Great!

So I can't declare class level variables with auto, correct? only local method variables?

You can use auto if you're setting the class level variable to a default.

class X {
  auto i = 42; // i will be an int

}

Reply via email to