compiler failure for ref to temporary
const ref to temporary is fine