As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).
On paper, this sounds a bit like delayed barter, but it bears some significant differences. For one thing, it’s much more efficient than Smith’s idea of a barter system, since it doesn’t depend on each person simultaneously having what the other wants. It’s also not tit for tat: No one ever assigns a specific value to the meat or cake or house-building labor, meaning debts can’t be transferred.