Developer Guide and Reference

  • 2021.3
  • 06/28/2021
  • Public Content

DPCT1044

Message

<BaseClass1>
was removed because
<BaseClass2>
has been deprecated in C++11. You may need to remove references to typedefs from
<BaseClass1>
in the class definition.

Detailed Help

<BaseClass#>
is either
unary_function
or
binary_function
. The std:: equivalents for these classes are deprecated, and the use of these base classes is removed.

Suggestions to Fix

If any of the typedef identifiers are referenced in the class definition, they should be replaced with the original template arguments.
For example the following code:
class C : thrust::unary_function<int, float> { argument_type arg_data; result_type result_data; };
should be rewritten as:
class C { int arg_data; float result_data; };

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.