C++Now 2014 has ended
Please visit the C++Now website.
Back To Schedule
Thursday, May 15 • 4:30pm - 6:00pm
Understanding &&

Log in to save this to your schedule, view media, leave feedback and see who's attending!

C++11 introduced rvalue references or '&&'. That simple double '&' gives move semantics its mojo. But '&&' is yet more powerful. The power hidden behind both std::move and std::forward is also '&&'. Additionally, you may have heard of Universal References, which also are based on '&&'. 

With all that power, it turns out that '&&' can be a bit tricky. This presentation summarizes the different uses for '&&'. It covers how to distinguish the different roles that '&&' can take on while you are reading or writing code. It also covers current best practices for using '&&' in code. The talk is intended for beginning C++ programmers who want to find out what the '&&' fuss is about or for intermediate programmers who perhaps tried to use '&&' and then didn't get the behavior they expected. 

avatar for Scott Schurr

Scott Schurr

Staff Software Engineer, Ripple
If you ask his children, they will tell you that Scott has been writing software since dinosaurs roamed the earth. In 1996 Scott learned C++ by working through the exercises in Stroustrup's TC++PL 2nd edition and he has never looked back. Scott is currently working at Ripple Labs... Read More →

Thursday May 15, 2014 4:30pm - 6:00pm MDT

Attendees (0)