Closed TartanLlama closed 6 years ago
tl::optional now supports references:
tl::optional
int i = 42; tl::optional<int&> o = i; *o == 42; //true i = 12; *o = 12; //true &*o == &i; //true
Assignment has rebind semantics:
int j = 8; o = j; &*o == &j; //true
tl::optional
now supports references:Assignment has rebind semantics: