User Tools

Site Tools


2014:the_c_14_standard_library

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”.



2014/the_c_14_standard_library.1383676769.txt.gz · Last modified: 2016/06/11 14:05 (external edit)