#pragma once //A class that has an initialization lock so that when the lock is activated, any further gets that are missing items in it will report themselves for easier debugging detection. template class safemap{ std::mapmap; bool initialized=false; public: O&operator[](T key){ if(initialized&&map.count(key)==0){ std::cout<<"WARNING! Trying to get non-existent key "< class safeunorderedmap{ std::unordered_mapmap; std::vectoritems; bool initialized=false; public: O&operator[](T key){ if(initialized&&map.count(key)==0){ std::cout<<"WARNING! Trying to get non-existent key "<