login about faq

Are there any limitations on subclassing Ck*-classes within C++/C++11 environment ? Any trap to watch out or free to do ?

I'm right now looking specifically into subclassing of CkJsonObject and its colleagues.

asked Dec 25 '16 at 05:26

ChristianVirtual's gravatar image

ChristianVirtual
13

edited Dec 25 '16 at 05:27


The only thing to watch out for is that the class cannot be copy-constructed or assigned. Each Chilkat C++ class makes the copy constructor and assignment operator private. For example:

    private:

// Don't allow assignment or copying these objects.
CkEcc(const CkEcc &);
CkEcc &operator=(const CkEcc &);
link

answered Dec 28 '16 at 09:23

chilkat's gravatar image

chilkat ♦♦
12.5k317361456

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: Dec 25 '16 at 05:26

Seen: 1,134 times

Last updated: Dec 28 '16 at 09:23

Related questions

powered by OSQA