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:

1  class C : thrust::unary_function<int, float> {
2    argument_type arg_data;
3    result_type result_data;
4  };

is rewritten as:

1  class C {
2    int arg_data;
3    float result_data;
4  };