Menu

new loki version?

Developers
Omer Katz
2008-03-26
2013-04-08
  • Omer Katz

    Omer Katz - 2008-03-26

    when will it happen?

     
    • Richard Sposato

      Richard Sposato - 2008-03-27

      Hi Omer,

      No predictions about when we will prepare the next version of Loki.  The admins have discussed some new features for Loki - which I hope will go into the next version.  You will certainly see a few bug fixes as well.

      Cheers,

      Rich

       
    • Omer Katz

      Omer Katz - 2008-04-02

      well I want in.
      I really want to help with this project.
      Have you considered including my Decorator pattern class?

       
      • Andrei Alexandrescu

        Hi Omer,

        I thought you're already on the list; I recall we discussed your Decorator pattern and your participation.

        I just added you as a developer. Welcome! Before adding your Decorator implementation to Loki, please wait for Peter's and Rich's approval. Thanks!

        Andrei

         
      • Richard Sposato

        Richard Sposato - 2008-04-06

        Hi Omer,

        Welcome aboard!  Since we are an all-volunteer crew, and we each only have so much bandwidth to work on Loki project, we don't always respond in a timely fashion.  (As you discovered with your recommendation for a decorator.)

        Would you like us to add both Decorator and StaticallyDecoratedClass to Loki?

        Cheers,

        Rich

         
    • Nobody/Anonymous

      Well I thought about my idea of a dynamically decorated class.
      It's just something a decorator shouldn't do. Or maybe I am wrong. I just don't know how to do it.
      The problem starts when you try to delete a decorator and link his father to his child.
      Here's the full code of Decorator.hpp for the meanwhile:
      namespace Loki
      {
      template <class Decorated>
      class Decorator : public Decorated
      {
      protected:
      Decorated *DecoratedObject;
      public:
      Decorator(Decorated *NewDecoratedObject)
      : DecoratedObject(NewDecoratedObject)
      {
      }
      };

      template <class Decorated, class TList>
      class DecorateClass;

      template <class Decorated, class Head>
      class DecorateClass<Decorated, Typelist<Head, NullType> >
      {
      public:
      static Head *Build() { return new Head(new Decorated); }
      };

      template <class Decorated, class Head, class Tail>
      class DecorateClass<Decorated, Typelist<Head, Tail> >
      {
      public:
      static Head *Build() { return new Head(DecorateClass<Decorated, Tail>::Build()); }
      };
      }

      anyone needs explanation?

      p.s.
      Andrei I just saw what you did in AKIRA.
      Holy shit man. I don't get any of it lol...

       

Log in to post a comment.