You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the main benefit of Function Multiversioning?
6
+
answers:
7
+
- I may reuse my binaries on different targets without sacrificing runtime performance.
8
+
- My application binaries will be smaller in size.
9
+
correct_answer: 1
10
+
explanation: >
11
+
The produced binaries can be reused on different targets, but they may be larger in size.
12
+
13
+
- questions:
14
+
question: >
15
+
Can I implement versions of a function in separate translation units?
16
+
answers:
17
+
- Yes, function versions can spread across different translations units.
18
+
- No, all of them must be in the same translation unit.
19
+
correct_answer: 1
20
+
explanation: >
21
+
There is no requirement for function versions to be defined in the same translation unit. However, all of them must be declared in the translation unit which contains the definition of the default version.
0 commit comments