Dear Mr. Godbolt,
De reason for visiting your site was to try experiment with certain ideas. So lets try this:
int i = 33; decltype(i) j = i * 2; std::cout << "i and j are the same type? " << std::boolalpha << std::is_same_v<decltype(i), decltype(j)> << '\n'; It will not do anything except for failing to compile. Dropping the is_same_v for is_same will not help. However g++ v10 on my Linux will compile this without a problem Lets try the example from the CPP with ranges. Nope that will not work. And so on on… I gave up. Kind regards Peter Ketel