Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试从另一个(常量折叠)构建一个 AST 时,我注意到在调用访问者时存在不必要的复制构造。但是,如果我们谈论 C++11/C++1y,则应该存在移动构造。
创建正确支持通用引用的访问者/多访问者版本是否有任何不可克服的困难?