The pre-WWI gold standard facilitated international trade

It is often argued that the pre-WWI gold standard facilitated international trade and foreign investment. Did it? If so, how; if not, why not?