Search:

Type: Posts; User: Frydac

Search: Search took 0.00 seconds.

  1. ooch! Indeed. same example with virtual...

    ooch! Indeed.

    same example with virtual destructor:
    [Wandbox]三へ( へ՞ਊ ՞)へ ハッハッ

    This illustrates you always want to use tools like gcc/clang address sanitizers, or msvc /RTC (Run-Time Error...
  2. You can not create an instance of an...

    You can not create an instance of an abstract/interface class, which is why you can not return an instance.
    You can, however, return a pointer/reference to an abstract class, which is created from a...
Results 1 to 2 of 2