What does the syntax *this = {}; do in a class function?

Adam D. Ruppe destructionator at gmail.com
Wed Sep 18 18:25:37 UTC 2019


On Wednesday, 18 September 2019 at 17:58:08 UTC, GilbertJobs 
wrote:
> Obviously a newer player to C++ here.

BTW if this was C++ code you are looking at, most my explanation 
still applies, and in C++, class and struct work the same way. So 
it probably fits there too.


More information about the Digitalmars-d mailing list