ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think that it should work in principle with one template parameter. The problem with two parameters is the ',' between them which the macro instantiation interprets as the separator between macro arguments (macros are "dumb" in the sense that they do not understand c++). So, you won't get around typedefs for this.