# \[C++\] lvalues, rvalues, glvalues, prvalues, xvalues, oh my

**URL:** <https://discourse.mc-stan.org/t/c-lvalues-rvalues-glvalues-prvalues-xvalues-oh-my/8430>\
**Category:** Developers\
**Created:** [April 11, 2019, 7:06pm UTC](https://discourse.mc-stan.org/t/c-lvalues-rvalues-glvalues-prvalues-xvalues-oh-my/8430 "2019-04-11T19:06:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seantalts](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/seantalts/32/32_2.png) [@seantalts](https://discourse.mc-stan.org/u/seantalts)\
**Post date:** [April 11, 2019, 7:06pm UTC](https://discourse.mc-stan.org/t/c-lvalues-rvalues-glvalues-prvalues-xvalues-oh-my/8430/1 "2019-04-11T19:06:58Z")

</div>

I found this short and very helpful: [https://blog.knatten.org/2018/03/09/lvalues-rvalues-glvalues-prvalues-xvalues-help/](https://blog.knatten.org/2018/03/09/lvalues-rvalues-glvalues-prvalues-xvalues-help/)

---

<div class="post-metadata">

**Author:** ![increasechief](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/increasechief/32/2039_2.png) [@increasechief](https://discourse.mc-stan.org/u/increasechief)\
**Post date:** [April 29, 2019, 5:51pm UTC](https://discourse.mc-stan.org/t/c-lvalues-rvalues-glvalues-prvalues-xvalues-oh-my/8430/2 "2019-04-29T17:51:34Z")

</div>

This has been enlightening: [Safe and Sane C++ Types - Peter Sommerlad [ACCU 2019]](https://www.youtube.com/watch?v=93RT8TgTshA).
