A quick history of currencies and paper money shows that money began as a deposit of a certain value of gold/silver and then turned into a representation of the promises of those who issue it.
Looking at the US dollar, it has lost more than 90% of its value, making all paper currencies a bad example of a "store of value." "I do not want to mention the scenario that happened in the state of Venezuela or Germany after the war."
Anything currency, stock or asset can be used as a store of value. When you’re holding dollars, it's a store of value that you’re holding. You only have decision to change to something else like real estate, cryptocurrency, gold, silver, and precious stones when the value becomes unpredictable (e.g. hyperinflation). There are people that might be living in Mexico but buying dollars and Euros, they do this as a means of storing value. I also do that most of the times, I hold dollars, pounds and Euros in my Payoneer wallet.
So, currency is also a store of value. But, it will be good or not is being decided by its inflation rate. As far as I know there will be no limited supply base currency or deflationary currencies are available. Hence, storing your wealth in a currency may result in losing its worth over the time.