Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Node *NodeSet::getNode(int index){
- const Node *node = static_cast<const NodeSet*>(this)->getNode(index);
- return const_cast<Node*>(node);
- }
- const Node *NodeSet::getNode(int index) const{
- //non-trivial code to get the correct node
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement