Re: i wanna Gof'sDesign Pattern for STL sample..

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: tom_usenet (tom_usenet_at_hotmail.com)
Date: 05/24/04


Date: Mon, 24 May 2004 17:41:34 +0100

On Mon, 24 May 2004 15:17:42 +0200, "Val"
<valmont_programming@hotmail.com> wrote:

>
>"Igor Tandetnik" <itandetnik@mvps.org> wrote in message news:exzDn$GOEHA.3016@tk2msftngp13.phx.gbl...
>| "À尿č" <sun@daims.co.kr> wrote in message
>| news:ue9yHQ%23NEHA.556@tk2msftngp13.phx.gbl
>| > i'll learn Gof'sDesign Pattern
>| > but there's not source code, u know . i wanna c++.net with stl source
>| > and sample..
>|
>| Get "Modern C++ Design" by Andrei Alexandrescu
>| (http://www.moderncppdesign.com/). Andrei shows how to implement a
>| number of GoF design patterns generically in C++. It has become a
>| classic book on advanced C++ template usage.
>
>Even the VC7 compiler isn't good at compiling the examples in that book. Especially noticable when trying
>out the LOKI library. More than half the code won't compile. I love "policy based design" but like I mentioned,
>it is for the very best of compilers only.

I think there is a port that work's fine with VC7. VC7.1 compiles the
original library fine I think. Both versions are part of the download
at: http://sourceforge.net/projects/loki-lib/

Tom

-- 
C++ FAQ: http://www.parashift.com/c++-faq-lite/
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html


Relevant Pages

  • vc7 compiler bug report
    ... I encountered the following bug in the vc7 compiler, ... documented in microsoft support. ... If you put both the isonymous typedef and struct in the same source ...
    (microsoft.public.vc.language)
  • Re: i wanna GofsDesign Pattern for STL sample..
    ... > Even the VC7 compiler isn't good at compiling the examples in that ... "policy based design" but like I mentioned, ...
    (microsoft.public.vc.stl)
  • Re: Which programming language is better to start
    ... How does Lisp handle monomorphic types? ... If you don't specify a variable to have a type then the compiler ... ML does a lot of pattern match optimisations which, ... These operation would be done by representing the data as lists ...
    (comp.programming)
  • Re: C Overflow and MSVC++
    ... Jeff Schwab wrote: ... >> is using that compiler. ... > don't believe MS's documentation guarantees this behavior). ... a.c.l.l.c-c++ FAQ mirror: http://nullptr.merseine.nu:8080/acllcc++.html ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Automatic "code-pattern" recognition, in DSP codes
    ... The usual instruction selection is itself a pattern matching like you ... I am not sure if any compiler does it, ...
    (comp.compilers)