Commit Graph
2 Commits
Author SHA1 Message Date
Chaoran Yang 5b4a135f62 add unit test for overload & operator 2019-05-13 15:39:18 +00:00
Chaoran Yang 2fc2383165 Use std::addressof to instead of plain '&'.
Otherwise the code won't compile if the '&' operater is overloaded and
return something that cannot be casted to void *.
2019-05-12 00:14:54 +00:00