Search:

Type: Posts; User: whiteflags

Search: Search took 0.05 seconds.

  1. Just use a cast. Even though it is type...

    Just use a cast. Even though it is type compatible, that doesn't mean that you can do implicit conversions without the compiler complaining.
  2. I think the only difference with my...

    I think the only difference with my implementation in this case is that you would have to add up and down links into the base node class in order to do up/down links in addition to prev/next links.
  3. I think 90% of the problem is that the user of...

    I think 90% of the problem is that the user of the class can create his own node implementation for the list. There's no real good reason for that. If the list used the same basic node type all the...
  4. One idea that still uses templates is to just...

    One idea that still uses templates is to just create a base node class that contains common things about all nodes, and then make a derived node class that contains the user's data type.



    class...
Results 1 to 4 of 4