• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/11

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

11 Cards in this Set

  • Front
  • Back

When is const iterator good to be used

When you don't modify the container. The compiler produces faster code.

What type of copies do the default copy constructor and assignment operator

Shallow copies

When is deep copy needed

When you want to copy an object that has pointer to dynamically allocated memory

What does emplace method do

Emplace uses the parameters to call the constructor of the type template of the object container

How do you provide values for members that are const, reference or of a class type that does not have a default constructor?

Using initializer list.

What is the name of ::

Scope resolution operator

In what order does initializer list initialize the members?

In the order in which they appear in the class definition.

what does a constructor that supply default arguments for all its parameters

Also defines the default constructor

What is a delegate constructor

A constructor that uses another constructor.

How is the compiler generated constructor called

Synthesized default constructor.

When does the compiler generate a default constructor automatically?

Only if a class declares no constructors.