CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: zxjun84

Search: Search took 0.04 seconds.

  1. Re: how to comprehend the definition of Bridge pattern by Gof?

    very detailed exposition!upstairs friend deeply comprehend the design pattern.
  2. Re: how to comprehend the definition of Bridge pattern by Gof?

    I refactor the first sample you have given as follow:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    abstact Brush (the Abstraction)
    <----- RGBBrush // RGB-brush-specific code
    <----- CYMKBrush //...
  3. how to comprehend the definition of Bridge pattern by Gof?

    1.There is an object varying for two dimensionality which change commonly.we can decouple the two dimensionality ,so they can vary indepently and not mutually affect.For example ,when we want to draw...
  4. Replies
    6
    Views
    6,108

    Re: how CWinApp realize the singleton pattern?

    thanks for your reply!
    In debug mode, a assert will be throwed.Ignoring the assert,the application would continue to execute well. If creating second CWinApp-derived object in release mode, there is...
  5. Replies
    6
    Views
    6,108

    how CWinApp realize the singleton pattern?

    Generally,singleton pattern is applied by the way that the ctor is private and gives a member funtion named getInstance, but CWinApp's instance is defined as a global object,its ctor is not...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured