C++ Flashcards

1
Q

.H and .CPP, why do you need them?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Forward declaration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Precompilation time and how to decrease it

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Lambdas, when use them, what are capture methods?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is CreateWeakLambda in UE4?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to disable code optimization and why do you need it?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Virtual destructors and constructor

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Minuses and nuances of std::vector. How to avoid them?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Move semantics in c++ 11, what is it and how to use it?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

unique_ptr

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

shared_ptr

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Heap

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Stack

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Initializer Lists

A

Allows to fill user-defined objects in a way similar to Array.
Created automatically by using braces {1,2,3}
Must be implemented in an object as a constructor with initializer list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly