This is an old revision of the document!
Back to 2014-proposals
Title: There Ain't No Such Thing As A Universal Reference
Proposer: Jonathan Wakely
Type: Tutorial
Duration: 45 mins
Description:
Scott Meyers coined the term 'universal reference' to describe a
feature of templates in C++11, but the C++ standard only talks about
lvalue references and rvalue references. This session will explain
what is meant by 'universal reference' and demonstrate that the
feature depends on simple rules of C++ that are independent of
templates. The aim is to clearly explain the underlying concepts in
terms of the rules that the standard and your compiler use, so that
you know what's really happening when you use and write code
containing 'universal references'.