Timeline for static_vector: a vector with stack storage
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2019 at 7:09 | vote | accept | L. F. | ||
Aug 28, 2019 at 11:18 | comment | added | miscco |
As a side note, the copy_base idiom is what the standard library uses to forward traits to wrapper objects / containers. A really nice talk featuring this and even why there is use for const T&& is from Simon Brand youtube.com/watch?v=J4A2B9eexiw
|
|
Aug 28, 2019 at 6:02 | comment | added | L. F. |
Wow, this is nice! The typename ... is used to prevent over smart users from manually specifying the template arguments. ssize is a useful feature that is standardized in c++20, so I decided to include it. (I used it in compare .) data should return T* not pointer because pointer has a different meaning (in the same way you don't want to return an iterator here, though using iterator = T*; )
|
|
Aug 28, 2019 at 5:42 | history | answered | Loki Astari | CC BY-SA 4.0 |