Search:

Type: Posts; User: MisterIO

Search: Search took 0.01 seconds.

  1. Thread: Design doubt

    by MisterIO
    Replies
    5
    Views
    1,917

    Yes, I had to make node public but there's no...

    Yes, I had to make node public but there's no public function that returns nodes(nor there's obviously any public variable), so having node public doesn't create any problem for the internal workings...
  2. Thread: Design doubt

    by MisterIO
    Replies
    5
    Views
    1,917

    About the first statement: could you clarify?...

    About the first statement: could you clarify? What would that change for my problem? I'd still have to make node public, wouldn't I?

    About the second statement: frankly, from the messages i get...
  3. Thread: Design doubt

    by MisterIO
    Replies
    5
    Views
    1,917

    I thought about doing this: template...

    I thought about doing this:



    template<K> iterator_t{}

    typedef iterator_t<node> iterator;


    But it doesn't seem to work either, because the type isn't declared in the same context, so...
  4. Thread: Design doubt

    by MisterIO
    Replies
    5
    Views
    1,917

    Design doubt

    I'm creating a little container class, but I have a design doubt. I'll post here some example code:



    template<T> class useful_class {
    public:

    void some_func()
    {
    node...
Results 1 to 4 of 4