seomoz / rep-cpp

Robot exclusion protocol in C++
MIT License
12 stars 5 forks source link

Add back default constructor for Agent. #30

Closed b4hand closed 7 years ago

b4hand commented 7 years ago

Previously, this was removed in #28, but the Cython bindings in reppy really want there to be a default constructor for Agent, so I'm adding it back for convenience.

Also, while I'm making changes, add copy and move constructors and explicit copy assignment operators for Agent and Directive. Currently, I don't believe these are used in the C++ code, but reppy uses the copy assignment operator for Agent which in turn uses the copy assignment operator for Directive.