These are chat archives for symengine/symengine

6th
Feb 2018
Eeshan Gupta
@eeshan9815
Feb 06 2018 15:19
Hey. I'm working on #1359. What does the x->accept(*this) do in symengine/subs.h:256?
Isuru Fernando
@isuruf
Feb 06 2018 15:21
it calls the Basic objects accept method with the visitor instance which in turn calls bvisit method in the visitor with itself as the argument. See https://en.wikipedia.org/wiki/Visitor_pattern