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

Search:

Type: Posts; User: TubularX

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    748

    Re: mask copy constructor

    Right, the copied object will have a pointer that points to the same memory.

    If you really want to make a copy, you would either need to make a deep copy (i.e. make sure the memory pointed to is...
  2. Replies
    7
    Views
    748

    Re: mask copy constructor

    This is OK. Declaring the copy constructor private without defining it, is an old trick to prevent copies. (in modern C++, "= delete" can be used instead).

    The Anfiteatro class has a pointer...
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)