Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Class SMTH {
  2. enum Color {red, black};
  3. struct Node {
  4. int value;
  5. Color color;
  6. size_t left;
  7. size_t right;
  8. };
  9. void is_node_red() {
  10. return (node.color == red);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement