std::iterator considered as deprecated since C++17 and shouldn't be in use. This patch marks std::iterator as deprecated using deprecated attribute, and replace its usages with the required member types inside each class.
std::iterator considered as deprecated since C++17 and shouldn't be in use. This patch marks std::iterator as deprecated using deprecated attribute, and replace its usages with the required member types inside each class.