Cannot bind temporary to non-cost reference argument (only caught by gcc)