using Index = std::ptrdiff_t;
// Sample loop using index
for (Index index{ 0 }; index < static_cast<Index>(arr.size()); ++index)
why did the learncpp example uses ptrdifft? and why is it casing it to arr size? and why is it saying "what signed type should we use?" why can't u just use int
btw show me an example code of int being ineffective and will make the code break unless u use ptrdifft


